문제

After sending several messages with a Group-ID set (message grouping), how can I manage their delivery, to have a consumer for each Group-ID?

And how does it works if my Message Consumer is a Message-Driven Bean?

The idea is to implement parallel-processing for each Group-ID.

도움이 되었습니까?

해결책

The server will ellect a Group-id randomically based on your consumers...

if you have a message driven bean, you will have multiple consumers per MDBs... each grouopID will be delivered to a single consumer.

if you ned to elect your consumer.. simply don't use message groups.. just use selectors.

The use-case of message grouping is to automatically manage the consumer selection. If you want to bound to a specific consumer just set a property and use filters.. that's what they are for.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top