users@glassfish.java.net

Re: Possibilities to configure JMS in Glassfish. Problem ...

From: <forums_at_java.net>
Date: Tue, 13 Dec 2011 10:00:59 -0600 (CST)

 Are you sure that you want all the instances to process the same message?
 That's an atypical use case for a JMS Queue.  If that's what you really
want, you might consider having each Instance subscribe to a JMS Topic
provided by a standalone JMS broker on the Server.

If you'd rather just distribute the message load across the cluster so that
each Instance processes some of the messages, glassfish will do that by
default.  One problem you might run into is that each instance will grab a
chunk of messages and seem to be unbalanced until you tune it properly.  For
that
see: http://www.java.net/external?url=http://openmessaging.blogspot.com/2009_03_01_archive.html
[1]

 

Jim


[1]
http://www.java.net/external?url=http://openmessaging.blogspot.com/2009_03_01_archive.html

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