users@glassfish.java.net

Re: Successful MDB + Topic load-balance setup, but how does it work?

From: <glassfish_at_javadesktop.org>
Date: Wed, 07 Oct 2009 02:06:18 PDT

"Shared subscriptions" is a native feature of Sun's Message Queue product, working in conjunction with the JMSRA resource adapter. JMSRA can only be used with Sun MQ.

If you want to use some other JMS provider you will need to use a resource adapter that support it. Two (open source) possibilities from Sun are <a href="https://jmsjca.dev.java.net/">JMSJCA</a> (which is part of Open ESB) and < a href="https://genericjmsra.dev.java.net">GenericJMSRA </a> (which is part of Glassfish) .

JMSJCA has a feature called "<a href="http://wiki.open-esb.java.net/Wiki.jsp?page=JMSJCAReadme#section-JMSJCAReadme-DistributedDurableSubscribers">Distributed Durable Subscribers</a>" which simulates this behaviour using an intermediate queue. I'm not sure whether GenericJMSRA has a similar feature or not.


Nigel
[Message sent by forum member 'nigeldeakin' (nigel.deakin_at_sun.com)]

http://forums.java.net/jive/thread.jspa?messageID=367096