And what's your expect behavior for the messages that don't match the
filter for your consumer?  What do you anticipate happening to them with
this configuration?

On Tue, Jan 27, 2015 at 3:15 PM, krishy <calvinkri...@gmail.com> wrote:

> tbain98 wrote
> > OK, so I finally got around to looking at your producer and consumer code
> > in BitBucket.  So it looks like you're intentionally only consuming half
> > the messages you produce; is that right?  If so, to what end?  You never
> > mentioned this particular characteristic of your test; any reason you
> > didn't?
>
> I am sorry, I should have been more clear about that. As I mentioned - "One
> sends messages to the virtual topic and another consumes from the queue of
> the virtual topic based on a selector." So, yes, the consumer does not care
> about all the messages sent to the virtualtopic/queue but is rather
> interested in only certain messages.
>
> The simplification of a scenario we use this is to pick messages from a
> stream of events. The events are pumped into a virtual topic and having
> multiple consumers subscribed to the corresponding queue allows us to run
> multiple instances of the consumer application (and thereby load balance
> the
> downstream processing).
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Consumer-queues-of-virtual-topic-and-the-web-console-tp4689995p4690491.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to