Why Active MQ Consumer is not recieving any message even if it is online?

与世无争的帅哥 提交于 2019-12-24 03:03:01

问题


  1. Consumer Created.
  2. Producer created.
  3. Msg Sent.
  4. Msg Enqueued in the Queue.
  5. But Msg not dequeued (even though there is a consumer online for that queue).

There is no error logged on the system. So What could be the reason for it?


回答1:


If you haven't called connection.start() then your consumer won't receive anything. If you have and its still not working then we'd need to see some code in order to help figure it out.



来源:https://stackoverflow.com/questions/10349077/why-active-mq-consumer-is-not-recieving-any-message-even-if-it-is-online

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!