on 07-13-2011 9:41 AM
Hi,
I have a requirement that
how to maintain EOIO for JMS to multiple webservices scenario.
JMS queue has multiple messages, each message has to be sent to either of 2 receivers.
How to maintain EOIO in case, when there are 2 receivers.
Regards
Sekhar
Couldn't get your question but for your information EOIO is there by default for JMS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How you will differentiate which message to send receiver?
do you have any condition in payload?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
since messages are split between 2 webservices receivers, each would have its own SOAP adapter.
So if order of messages in the JMS queues is M1, M2, M3 and M4 . There is a field based on which split happens.
Say, if M1 and M3 have to go Webservice1 (will have its own mapping)
and M2 and M4 have to go Webservice2. (will have its own mapping)
we'll have two receivers in the receiver determination and hence two Interface determinations.
The result should be
M1 delivered to Webservice1
M2 delivered to Webservice2
M3 delivered to Webservice1
M4 delivered to Webservice2
How will we maintain EOIO in this case?
Regards,
Balaji.M
>JMS queue has multiple messages, each message has to be sent to either of 2 receivers.
I doubt how maintain at order runtime in Interface determination will solve this issue...
Example first message based on condition receiver 2, second again condition 1 , third based on condition 1, 4th 1, 5th 2... 6th 2 ....
I would recommend to consider using BPM to achieve this.
Hi,
Since there is a field in the incoming message based on that receiver is identified, you might think of writing an adpater module for creating dynamic EOIO queues based on the value of that field, at JMS adapter.
This approach is discussed in the below blog, might be helpful for you.
/people/james.wood/blog/2011/04/13/dynamic-eoio-queue-derivation-with-adapter-modules
Regards,
Francis
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.