I get an exception (shown below) when I try to send messages to the TIBCO Ems queue.
javax.jms.ResourceAllocationException: Queue limit exceeded at com.tibco.tibjms.Tibjmsx.buildException(Tibjmsx.java:523) at com.tibco.tibjms.TibjmsxSessionImp._publish(TibjmsxSessionImp.java:1390) at com.tibco.tibjms.TibjmsMessageProducer._publish(TibjmsMessageProducer.java:246) at com.tibco.tibjms.TibjmsQueueSender.send(TibjmsQueueSender.java:51)
The only place I've seen this exception is the link: http://class10e.com/tibco/a-queue-is-defined-as/
And from here I was able to guess that you should have at least one consumer in the queue before sending any messages. As soon as I created the user, it worked, but only up to 5 or 6 posts. It is strange that I empty the queue before each test, and I send accurate text messages, so there is no difference in size. Why does this fail sometimes after 5 and sometimes after 6 messages? I do not consume the message after I initially messed up the queue (I created the user, but used the eclipse debugger to pause the message consumer stream). Does anyone know what is the reason for this exception?
source share