Announcement Announcement Module
Collapse
No announcement yet.
selectors for multiple concurrent listeners Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • selectors for multiple concurrent listeners

    hi All,

    I need to use selectors for multiple concurrent consumers.for a container I need to use concurrent consumers and each of the consumer will have different selector. I can't any property for the DefaultMessageListenerContainer where we can specify individual selectors. Does anyone know how to set this up ?

    Regards
    hamid

  • #2
    This generally requires the use of separate DefaultMessageListenerContainer instances: one per message selector.

    Consider the use of Spring 2.5's <jms:listener-container> tag, which allows for the convenient definition of multiple nested listener elements (with individual listener references, destination names and selector values) while sharing common settings at the listener-container level.

    Juergen

    Comment

    Working...
    X