activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: Publish and Subscribe
Date Sat, 19 Jan 2008 08:29:59 GMT
What you describe sounds just like normal publish/subscribe - am I  
missing something?
On Jan 18, 2008, at 7:51 PM, DavidShaw wrote:

>
> I've been looking at creating a topic that would support "publish and
> subscribe".  To be specific, I want to create a topic, and when I  
> send a
> given message to it, multiple consumers that subsequently pull from  
> the JMS
> will get that message, one copy per consumer.
>
> Client 1 subscribes to queue X
> Client 2 subscribes to queue X
>
> Publisher 1 pushes message A to X
> Publisher 2 pushes message B to X
>
> Client 1 pulls, gets message A
> Client 1 pulls, gets message B
> Client 2 pulls, gets message A
> Client 2 pulls, gets message B
>
> I looked at this page:
> http://activemq.apache.org/virtual-destinations.html
>
> but I don't really see if I can solve this problem using it.  I can  
> think of
> a workaround, but is it possible to do exactly the user story I  
> described
> above?
>
> Thanks, I'm still trying to figure this out, but I think it will  
> work for me
> if I can.
> -- 
> View this message in context: http://www.nabble.com/Publish-and-Subscribe-tp14957768s2354p14957768.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


Mime
View raw message