This discussion is archived
2 Replies Latest reply: May 27, 2011 6:16 AM by 864385 RSS

Direct client connection does not throw JMSException if MaxNumMsgs execeds

864385 Newbie
Currently Being Moderated
We are using OpenMQ 4.5 with an embedded broker running inside the same JVM as some clients.
We dicovered that if the MaxNumMsgs is reached there is no JMSExeption thrown on the queue producers send method.
This is only the case if the producer uses a direct client connecton ("mq://localhost/direct").
The problem ist, that everything looks fine for the producers send and our producer keeps sending messages .... , but these messages are lost.

If we use a tcp connection like "mq://localhost/direct" we get a proper JMSException on the send method and producer will stop sending messages.

Why is openMQ behaving like this?

Best Regards


  • Correct Answers - 10 points
  • Helpful Answers - 5 points