问题
- Consumer Created.
- Producer created.
- Msg Sent.
- Msg Enqueued in the Queue.
- 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