On 05/30/2013 09:31 AM, Khanh Sy Bui wrote:
I have looked around in Java messenger code, I think it handled amqps
already. Its use looks below.
...
String certificateFile = "C:/ssl/crt.pem";
String privateKeyFile = "C:/ssl/key.pem";
String privateKeyPassword = "password";
EngineFactoryImpl engineFactoryImpl = new EngineFactoryImpl();
ProtonJSslDomain createSslDomain = engineFactoryImpl.createSslDomain();
createSslDomain.setCredentials(certificateFile, privateKeyFile,
privateKeyPassword);
createSslDomain.setPeerAuthentication(VerifyMode.ANONYMOUS_PEER);
Messenger mng = new MessengerImpl(java.util.UUID.randomUUID().toString(),
engineFactoryImpl, new DriverFactoryImpl(), new MessageFactoryImpl());
I stand corrected! Sorry for the false information. I do indeed see some
ssl handshake sniffing functionality in the codebase now.
But it does not help to make connected with Azure Service Bus
Have you tried resolving the hostname?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]