Regarding calling ESB services, there is class ServiceInvoker which does that. Try to find
it in source code or documentation to see how it is used, but in general it is as
follows:
Message esbMessage = MessageFactory.getInstance().getMessage();
| Call call = new Call();
| call.setMessageID(new URI(UUID.randomUUID().toString()));
| esbMessage.getHeader().setCall(call);
| esbMessage.getBody().add(text);
| new ServiceInvoker(category, name).deliverAsync(esbMessage);
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160542#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...