activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bansalp <bpradee...@gmail.com>
Subject Virtual Destination vs Composite Destination?
Date Wed, 17 Sep 2014 08:14:23 GMT
Hi,

My use case is I have a publisher publishing on a topic and some consumer
subscribing to it. Lets say there are 5 consumers. I want 3 consumer to get
message as it is and for rest two I want only one of them gets (as if they
have subscribed to a queue).

One way is I can use VirtualDestination and make these two consumer consume
on a logical queue of this VirtualTopic. Other way is to use composite
destination and make it forward messages send on topic automatically to a
queue.

Which way is better and in what situations and why?

Is there any other way?

What are differences between Virtual Destinations and Composite Destinations
apart from one later being static? Is there any performance difference?
Whcih one to prefer?



--
View this message in context: http://activemq.2283324.n4.nabble.com/Virtual-Destination-vs-Composite-Destination-tp4685626.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message