on 09-08-2010 4:22 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> 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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
> 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.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.