Details
Description
I am facing a problem on receiving messages by multiple blocked receivers from a single Queue with different correlation id.
Here is what exactly I am doing.
My client thread is publishing a message ( having a unique co-relationid) to a RequestQueue and waiting for a response (blocked)
on Response Queue with the same co-relationid. I have such 100 client threads.
The client thread is publishing a message using normal JMS (w/o Spring) whereas receiving the response using Spring JMSTemplate
using object=jmsQueueTemplate.receiveSelectedAndConvert(destinationName, "JMSCorrelationID='" + correlationID+ "';
the other side, Spring Message POJOs are consuming the published message from RequestQueue, processing it and sending back the response to ResponseQueue with the co-relation id set using normal publishing (w/o Spring).
My Observations
I have sent 1000 unique co-relationId messages (using 100 client threads) but received 992 unique co-related id messages;
8 duplicated co-related id messages and dropped 8 unique co-related id messages.
This is happening under 100 client threads load using Jmeter