cancel
Showing results for 
Search instead for 
Did you mean: 

how to maintain EOIO for JMS to multiple webservices scenario

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Couldn't get your question but for your information EOIO is there by default for JMS.

rajasekhar_reddy14
Active Contributor
0 Kudos

How you will differentiate which message to send receiver?

do you have any condition in payload?

Former Member
0 Kudos

Hi Raja Sekhar,

Yes we use a condition to send to particular receiver..

But is it possible to maintian the EOIO...

Regards

Sekhar

rajasekhar_reddy14
Active Contributor
0 Kudos

in interface deteprmiation select maintain order at run time option , in communication channels select EOIO As processing mode.

this will gaurantee order processing.

Regards,

Raj

Former Member
0 Kudos

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

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>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.

Former Member
0 Kudos

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