Hello list.

I am trying to use concurrent consumers pattern with JMS.

The use case is:

Messages from each sender needs to be kept in order.

Sender A, B and C.

Messages sent:

A1, B1, C1, B2, A2, C2, C3, A3, B3

Output:
A1, A2, A3
B1, B2, B3
C1, C2, C3

Is there a way in Camel to ensure that the Order is kept, for instance
always mapping to the same Thread whenever consuming messages from Sender A?

Would maybe JMSGroupID help here?

Sorry to ask if there is an obvious solution for this.


Thanks.

Erlend

Reply via email to