No - in the Java API you cannot add multiple message listeners to a single
consumer...  again this is driven by the JMS spec.  I'm not quite sure what
the use case is where multiple message listeners would be useful - I'm
assuming you're thinking of a model where if there are multiple listeners
they all get notified of every message?  In that case, which listener would
take responsibility for acknowledging the message (presuming you're doing
manual acknowledgements)...

-- Rob

Reply via email to