Re: No response being received - consumer.Receive always timeout

2011-07-07 Thread davidi
I have found the problem. Simple typo... The line "session.CreateConsumer(destination))" was assigning the wrong destination, it should have been the temporary queue which was created earlier. -- View this message in context: http://activemq.2283324.n4.nabble.com/No-response-being-received-con

Re: No response being received - consumer.Receive always timeout

2011-07-07 Thread davidi
Thanks for the quick reply. You are correct, I didn't have a connection.Start(). I assumed it starts automatically because the Producer.Send() worked ?? Anyway, I have added "connection.Start();" immediately after the creation of "connection". It didn't work, same problem. The consumer.Receive jus

No response being received - consumer.Receive always timeout

2011-07-07 Thread davidi
Hi, I am new to ActiveMQ and I am trying to write a basic publisher and listener. I have used several code formats and can always send the initial message to the listener without any issue but no matter what I try, I can not get a response. The response from the listener does not fail, but it is