sub3 wrote:
> 
> Hi,
> I can't seem to get the VirtualTopic working correctly.  I have 1 producer
> & 2 consumers.  However, each message only ends up getting to 1 of the
> receivers.  Can someone tell me if I am setting these up correctly:
> 
> Producer:
> Destination myQueue = session.createTopic("VirtualTopic.FOO");
> producer = session.createProducter(myQueue);
> 
> Consumer A:
> Destination myQueue = session.createQueue("Consumer.A.VirtualTopic.FOO");
> consumer = session.createConsumer(myQueue);
> 
> Consumer B:
> Destination myQueue = session.createQueue("Consumer.B.VirtualTopic.FOO");
> consumer = session.createConsumer(myQueue);
> 
> 
> Thanks.
> 
> 

This looks ok to me - what's your broker configuration look like ? - AND
which version are you using ?
-- 
View this message in context: 
http://www.nabble.com/Help-With-Virtual-Topic-tp15518633s2354p15547090.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to