activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Messages Groups & Stomp
Date Fri, 19 Jan 2007 18:45:54 GMT
On 12/22/06, cronos <> 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...

> (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.


View raw message