activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james strachan (JIRA)" <j...@apache.org>
Subject [jira] Moved: (AMQNET-12) temporary queues seem to not work properly in C# when trying to implement request response
Date Tue, 27 Feb 2007 10:39:04 GMT

     [ https://issues.apache.org/activemq/browse/AMQNET-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

james strachan moved AMQ-843 to AMQNET-12:
------------------------------------------

    Fix Version/s:     (was: 4.1.0)
                   1.0
      Component/s:     (was: NMS (C# client))
              Key: AMQNET-12  (was: AMQ-843)
          Project: ActiveMQ .Net  (was: ActiveMQ)

> temporary queues seem to not work properly in C# when trying to implement request response
> ------------------------------------------------------------------------------------------
>
>                 Key: AMQNET-12
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-12
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>            Reporter: james strachan
>             Fix For: 1.0
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message