users@glassfish.java.net

Re: Glassfish JMS cluster

From: <forums_at_java.net>
Date: Thu, 5 May 2011 05:55:45 -0500 (CDT)

Please be aware that the Java EE specification states states that the
MessageConsumer method setMessageListener may not be used by applications
running in the web or EJB container. (In the Java EE 6 specification, see
section EE.6.7 Java™ Message Service (JMS) 1.1 Requirements)

So this isn't actually supported, and it's unlikely to have been tested.
That said, I would have expected setting
useSharedSubscriptionInClusteredContainer(false) on the connection factory to
have the expected effect. Perhaps you could try setting it programmatically
in your code. Leave clientID unset.

Nigel
 


--
[Message sent by forum member 'nigeldeakin']
View Post: http://forums.java.net/node/798066