activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Green <>
Subject Re: How to setup the Message Selectors on MessageConsumer
Date Fri, 10 Dec 2010 17:45:48 GMT
You put a custom header=value in when sending the message.

In the consumer you specify the selectors to use when subscribing to the

You might want to consider using a queue per message type. If you don't want
the producer to know in advance which queue is for which type of message,
you could have a content based router to take each message and send it out
on the right queue.



On 10 December 2010 17:11, madhavi <> wrote:

> I am using ActiveMQ Queue for messaging. There is one producer for this
> queue
> and multiple consumers. I want to put some restriction on message, so that
> only one particular consumer can consume the message. I am trying to figure
> out on how to setup the Message Selectors on a JMS Queue Receiver(Message
> Consumer). Or can we set the message selector from producer side. Which is
> the correct way. Any suggestions.. please
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message