on 04-11-2014 2:27 PM
JMS interface 1- -> PI –-->SAP
JMS interface2 ---> PI —-- > SAP
Current scenario is the messages of JMS interfaces 1 and 2 are put on same MQ queue ‘A’ so that they are sent in same sequence to SAP.
But in this scenario when interface 1 exists in the queue ‘A the 2nd JMS sender channel errors out with the below error .
Error occurred while processing message: f6af617c-fed0-4ea9-0c75-b19bc070e110. Detailed error (if any): com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: Module Exception: ModuleException: JMSQueueIDSetException Raised while loading payload at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:95)
And Vice versa.Is there a way we can avoid this alert in JMS sender channels or any other better solution.
Note : The messages are sent from interface 1 and interface 2 to queue A in real time .
Hi Robin,
why are you using two scenarios for this?
are you getting different messages for each scenario?
if yes you can achieve this using multiple operation in sender and receiver service interface. set the Qos as EOIO.
and in interface determination check maintain order at runtime.
Regards,
Muni.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robin,
you should not use two channel to connect to same queue, unless you are using any other JMS property for message selection.
In your case you can use JMS Message Selector for different message (for interface 1 and interface 2)
How to handle multiple message formats from 1 JMS Queue - Process Integration - SCN Wiki
if you set the JMS Message Selector in the communication channel and in message property then it will not fail.
regards,
Harish
The property needs to set in JMS header and you can not use the payload for the selection.
please check the below link
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.