This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

failed to send message to queue in activemq

 
Andrew Cane
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 989
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
THanks mate, you just solved my problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic