You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by James Strachan <ja...@gmail.com> on 2007/01/19 19:45:54 UTC
Re: Messages Groups & Stomp
On 12/22/06, cronos <vi...@googlemail.com> wrote:
>
>
> I am using the php stomp client to produce and consume messages. Please,
> can somebody clarify
> whether my understanding of message group implementation is correct
>
> (1) All that is needed to CREATE a message group is to add the jmsxgroupid
> to the producer stomp header
> of the first message and the broker will create the message group?
Yes. Its case sensitive and has to be: JMSXGroupID
more details here...
http://incubator.apache.org/activemq/stomp.html
> (2) To keep sending messages to the message group, add the jmsxgroupid to
> the producer stomp header for
> each message intended for the message group?
>
> (3) The broker will automatically assign the message group to the first
> avaliable stomp consumer? Thus I do not
> have to assign consumers to message groups because the broker does
> this?
Yes, thats right.
--
James
-------
http://radio.weblogs.com/0112098/