Two Laptop Bag*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 888
    
    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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: failed to send message to queue in activemq
 
Similar Threads
JMX Remote Connection vs Local Connection
JMX: javax.management.InstanceNotFoundException
warning?
MQ messging question
How To get Heap Memory Used