On 05/30/2013 08:19 AM, Kyle wrote:
Hi,

I am using Java Qpid Proton to exchange messages with Windows Azure Service
Bus and I got the error of UnresolvedAddressException.

Has anyone had experience with  with Windows Azure could help me?

The code I used as the below.
..
messenger.start();

MessageFactoryImpl messageFactoryImpl = new MessageFactoryImpl();
Message msg = messageFactoryImpl.createMessage();

msg.setAddress("amqps://owner:[email protected]:5671/queue");

I have no experience with Azure, but the exception would suggest that namespace.servicebus.windows.net could not be resolved. Have you checked whether that is the case (e.g. with nslookup or by pinging or telnetting)?

One other point is that I don't believe the Java messenger handles 'amqps' yet, i.e. it does not enable SSL. I would expect that to result in different errors/exceptions though.


messenger.put(msg);
messenger.send();
..

Thanks.



--
View this message in context: 
http://qpid.2158936.n2.nabble.com/Qpid-Proton-Unsolved-Address-Exception-for-Azure-Service-Bus-tp7593622.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to