The code of calling the ESB
#
System.setProperty(
"javax.xml.registry.ConnectionFactoryClass"
,
"org.apache.ws.scout.registry.ConnectionFactoryImpl");
Message message = MessageFactory.getInstance().getMessage();
ServiceInvoker invoker =
new ServiceInvoker("TestCategory","Test");invoker.deliverSync(message, 100);#####
If I use,
invoker.deliverAsync(message);
then also the outcome is same.