cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC to JMS with Dynamic Configuration.

former_member192105
Participant
0 Kudos

Dear Experts,

IDOC -> SAP PI -> JMS.

We will receive a value in the IDOC-message, based on which the target queue is to be defined.

1) So which property in Dynamic Configuration will help me?

2) Will it be the normal procedure (UDF in Message Mapping and then select the ASMA attribute in receiver channel)?

I went through: http://wiki.sdn.sap.com/wiki/display/XI/FAQ+J2EEJMS+Adapter (question 2.9 and 2.8)

But in one thread it was mentioned that such configuration (of queue) is not possible.

Any idea on how to proceed?

~Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Abhishek,

You can use either context object with the particular value and map it in receiver determination.

Else, you can also go for using ASMA parameters in UDF.

It should work.

Could you quote the link, where it's mentioned it cant be done via ASMA parameters?

Thanks,

Sushama

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

> We will receive a value in the IDOC-message, based on which the target queue is to be defined.

The target queue cannot be set dynamically. So you have to create different receiver services with seperate channels. Then you could create routing roules based on value in IDoc.

former_member192105
Participant
0 Kudos

Hello Stefan,

Thank you for the response.


                    -----> Company1
IDOC -> SAP PI   -----> Company2
                    -----> Company3

We have the above integration in place. Now without ASMA, we will have to create three different JMS Channels; one in each of the Business Service. This would mean that in future if the receivers increase, the corresponding channels have to be increased

But now I am confused as to what the Q 2.9 in this wiki link means: http://wiki.sdn.sap.com/wiki/display/XI/FAQ+J2EEJMS+Adapter

~Thanks

stefan_grube
Active Contributor
0 Kudos

> But now I am confused as to what the Q 2.9 in this wiki link means: http://wiki.sdn.sap.com/wiki/display/XI/FAQ+J2EEJMS+Adapter

I never understood this.

It seems there is a way for Websphere MQ only. But I could not manage to use this for setting the queues dynamically.

In my opinion it is better for monitoring and error handling, when you have seperate channels for each queues, when there are just 3, then it should not be too much effort to create them. Especially when each queue represents a different company.

former_member192105
Participant
0 Kudos

Hello Stefan,

Thank you again for your response.

I hope that SAP will come up with a document or write-up which will more clearly explain the Q2.9

~Thanks.

Former Member
0 Kudos

Hi Abhishek,

We have exactly the same requirement, Can you please let me know how have you achieved this?

Many thanks in advance!!!!

Regards,

Kumar