Sorry, nevermind, it works great now. PEBKAH. I was just not starting the
connection that I created my queue session out of.
--
View this message in context:
http://www.nabble.com/Cannot-receive-from-Virtual-Topic%27s-consumer-queue-tp26093937p26096429.html
Sent from the ActiveMQ - User mailing
What is your broker configuration (so that I may compare it with mine and see
what I'm missing)?
--
View this message in context:
http://www.nabble.com/Cannot-receive-from-Virtual-Topic%27s-consumer-queue-tp26093937p26096214.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Nope, that was my bad. Sorry for the confusion. Your code should work. I
tried something similar with ActiveMQ 5.3 and it worked fine for me. Here's
my code, which is using JNDI.
MessageListener listener = new MessageListener() {
@Override
public void onMes
I forgot to mention that once the consumer queues have been created, the
messages will be forwarded on to the queues, even if the corresponding
consumers are not active. One option is to have the broker create the queues
on start up.
Joe
http://www.ttmsolutions.com
Joe Fernandez wrote:
>
> If
Joe Fernandez wrote:
>
> If you activate your consumer after the messages have been published to
> the topic, then the messages will not be forwarded on to the consumer's
> queue.
>
Sorry, but I thought I'm sending to the topic after setting up the consumer,
just as you suggest. What do yo
If you activate your consumer after the messages have been published to the
topic, then the messages will not be forwarded on to the consumer's queue.
As an alternative, you might want to check out Camel to implement a similar
messaging pattern.
http://camel.apache.org/recipient-list.html
J
Just want to add that I also tried attaching JConsole and looking at the
Queue/Topic MBeans. It showed that the consumer queue had 0 dispatch and
enqueue count. The virtual topic had 1 enqueue count, 0 dispatch count. So
apparently the message isn't getting relayed from the topic to the queue?