I believe you have to specify your selector as you create your consumer.
On 2/6/09 6:07 AM, "Mark Webb" wrote:
> OK. I have it all figured out and running. I have looked through the
> API's and cannot find the answer, but can I set the selector criteria
> after the consumer has started?
>
>
OK. I have it all figured out and running. I have looked through the
API's and cannot find the answer, but can I set the selector criteria
after the consumer has started?
Thanks
On Thu, Feb 5, 2009 at 11:32 AM, Bill Schuller wrote:
> Here is some more detailed information on message propertie
Here is some more detailed information on message properties and selectors.
The ActiveMQ documentation is a little sparse. Selectors are part of the JMS
API, so they behave the same across broker implementations.
http://www.informit.com/articles/article.aspx?p=170722&seqNum=2
On 2/5/09 9:48 AM,
Implement a header property identifying the source of the message (
setStringProperty(source, ³me²)¹. In your topic subscription, use a
selector like source not me¹ in each of your apps...
On 2/5/09 9:38 AM, "Mark Webb" wrote:
> I have a group of applications that use JMS to communicate. I w
I have a group of applications that use JMS to communicate. I would
like to set up a topic for internal control messages (status,
heartbeat..etc). Each of these processes will subscribe to the topic
and send messages to each other periodically. The problem I have is
that if application A sends a