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.