So what's the difference between the "Consumer.A.VirtualTopic.Orders" queue  
and the "q.A" queue?
There is no need to use the Virutal Topic as well.Just push all messages to one 
queue and use a 
consumer/camel route to pick up & filter & forward messages to other different 
queues.

At 2013-06-21 16:42:53,hengyunabc <hengyun...@gmail.com> wrote:
>Maybe can filter message in class: VirtualTopicInterceptor, but I don't want
>to do it...
>
>Now my plan is  Virtual Destinations + camel:
>
>Producer:
>send message to topic: VirtualTopic.Orders;
>
>Camel:
>forward message from queue "Consumer.A.VirtualTopic.Orders " to "q.A"
>forward message from queue "Consumer.B.VirtualTopic.Orders " to "q.B"
>If I need, filter message through camel route.
>
>Consumer:
>receive message from queue "q.A"
>receive message from queue "q.B"
>
>So, I can far away from "unique subscriber name", "clientId".
>
>
>
>
>--
>View this message in context: 
>http://activemq.2283324.n4.nabble.com/How-to-filter-message-in-virtual-destinations-tp4668296p4668444.html
>Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to