JBoss Community

Re: Dynamic Routing by code via HttpRouter without ConfigTree po

created by Hans Wolffenbuttel in JBoss ESB Development - View the full discussion

If I talk about using a serviceInvoker I mean org.jboss.soa.esb.client.ServiceInvoker as used in many quickstarts. You can create your own action and implement this like:

 

ServiceInvoker invoker = new ServiceInvoker(new Service("category", "service"));
Message recievedMessage = invoker.deliverSync(messageToDeliver, timeoutMillis);

 

Regards,

 

Hans



Reply to this message by going to Community

Start a new discussion in JBoss ESB Development at Community