[ https://issues.apache.org/activemq/browse/AMQ-843?page=all ]
james strachan resolved AMQ-843.
--------------------------------
Fix Version/s: 4.1
Resolution: Fixed
I've added the TemporaryQueueTest.cs NUnit to reproduce this and fixed the bug
> temporary queues seem to not work properly in C# when trying to implement
> request response
> ------------------------------------------------------------------------------------------
>
> Key: AMQ-843
> URL: https://issues.apache.org/activemq/browse/AMQ-843
> Project: ActiveMQ
> Issue Type: Bug
> Components: NMS (C# client)
> Reporter: james strachan
> Fix For: 4.1
>
>
> The following code seems to fail...
> //Send msg to common q with reply to temp q.
> ITemporaryQueue tempQ = session.CreateTemporaryQueue();
> rqstMsg.NMSReplyTo = tempQ;
> rqstMsg.NMSPersistent = false;
> producer.Send(rqstMsg);
>
> //Get msg from common q.
> ActiveMQTextMessage request = consumer.Receive(new TimeSpan(0, 0,
> 5)) as ActiveMQTextMessage;
>
> ITextMessage response = session.CreateTextMessage("this is a
> response!!");
> response.NMSCorrelationID = request.NMSCorrelationID;
>
> IMessageProducer producerTempQ = session.CreateProducer(
> request.NMSReplyTo);
> //Write msg to temp q.
> producerTempQ.Send(response); //EXCEPTION: QUEUE DOESNT EXIST
--
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