NMS asynchronous consumption of queued messages
-----------------------------------------------
Key: AMQ-883
URL: https://issues.apache.org/activemq/browse/AMQ-883
Project: ActiveMQ
Issue Type: Bug
Components: NMS (C# client)
Affects Versions: 4.0.2
Environment: Win XP, AMQ 4.0.2 standalone broker, Java message sender
(JMS), C# (NMS) receiver
Reporter: Bryan Schmidt
1. Several messages are sent to a queue
2. NMS client subscribes
3. Queued messages are not received by NMS client
4. Another message is sent to the queue (while the NMS client is subscribed)
5. NMS client receives all messages
Same setup using Java publisher and subscriber behaves properly (queued
messages are sent to the subscriber immediately).
Editting the AsyncConsumeTest unit test can reproduce the problem and cause the
test to fail:
In the textMessageSRExample test, move the consumer logic below the producer
logic. (I.e. have the message sent to a queue before the consumer subscribes).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira