This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
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