GeeCON Prague 2014*
The moose likes EJB and other Java EE Technologies and the fly likes failed to send message to queue in activemq Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "failed to send message to queue in activemq" Watch "failed to send message to queue in activemq" New topic
Author

failed to send message to queue in activemq

Andrew Cane
Ranch Hand

Joined: Aug 07, 2013
Posts: 91
I'm storing my queues like so:


lets say I have queues "queue1" and "queue2", this is what I was trying to do:



This one didn't work, meaning, the message ID was generated just fine, no errors generated, but the message didn't appear in queue2.

While this one works:

The message with that mesage ID was successfully removed (gone from) the queue.
Why couldn't I send the message?
Thanks
E Armitage
Rancher

Joined: Mar 17, 2012
Posts: 892
    
    9
Does the message get sent if you use the JMX Console?
Also, why use JMX to send the messages? Why not send using a MessageProducer?
Andrew Cane
Ranch Hand

Joined: Aug 07, 2013
Posts: 91
THanks mate, you just solved my problem.
 
GeeCON Prague 2014
 
subject: failed to send message to queue in activemq