Hello Nishikawasan,
I am trying to update the Jakarta EE Cargo Tracker to use Service Bus as its JMS provider. I observe that the call to
factory = new ServiceBusJmsConnectionFactory(ServiceBusConnectionString, connFactorySettings);
simply never returns. See this commit . Line 45 or 48 is never reached. (8 or 11 in the below snippet):
System.out.println("debug: edburns: timeOut set.");
String ServiceBusConnectionString = "REEDACTED";
ConnectionFactory factory = null;
try {
System.out.println("debug: edburns: about to create ServiceBusJmsConnectionFactory");
factory = new ServiceBusJmsConnectionFactory(ServiceBusConnectionString, connFactorySettings);
} catch (Exception e) {
System.out.println("debug: edburns: exception: " + e.getMessage());
}
System.out.println("debug: edburns: factory: " + factory);
An exception is not thrown, and the constructor just blocks.
What is a best practice for debugging this?
I do believe I have a valid connection string, because I do see some time-correlated activity in my namespace in the Azure portal.
Thanks,
Ed