I'm trying out ActiveMQ, and have been trying to use virtual destinations to
publish on a topic but subscribe on a queue. So far my consumers never
receive any messages. I think I must have done something wrong in creating
the destinations (I am trying to use the out-of-the-box configuration).
For my producer I did:
MessageProducer producer = session.createProducer(new
ActiveMQTopic("VirtualTopic.TEST"));
For my consumer I did:
MessageConsumer consumer = session.createConsumer(new
ActiveMQQueue("Consumer.A.VirtualTopic.TEST");
The documentation on http://www.activemq.org/site/virtual-destinations.html
is a little inconsistent about what the names of the topics should be.
I am using the distribution from
apache-activemq-4.1-incubator-20060726.060132-1.zip, running on JDK_1_5_0_06
on Windows.
thanks,
Robert
--
View this message in context:
http://www.nabble.com/Virtual-Destinations-tf2460398.html#a6857902
Sent from the ActiveMQ - User mailing list archive at Nabble.com.