[jboss-dev-forums] [Design of JBoss ESB] - Re: ServiceInvoker / deliver in new transaction
camunda
do-not-reply at jboss.com
Wed Jan 7 10:31:21 EST 2009
Hi Mark,
I had a look into it again today. I have a problem of correlation now: After delivering asynchronously I have nothing, not even some ESB UUID. So how to wait for exactly this result message in a generic easy way?
The second problem: If I solve the correlation by some business identifier I still have to wait for the response of the service, but there is no way on the ServiceInvoker to do something like:
| serviceInvoker.waitForResponse(categoryName, serviceName, timeout)
| // or with correlation UUID
| serviceInvoker.waitForResponse(categoryName, serviceName, uuid, timeout)
| // or at least
| serviceInvoker.getResponseCourier(categoryName, serviceName)
| // or the like
|
Otherwise I cannot do that in a generic way because I need to subscribe to JMS for example (but then I have to know the special queue name and I am bound to JMS).
What do you think? Or am I on the wrong path?
Cheers & Thanks
Bernd
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200113#4200113
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200113
More information about the jboss-dev-forums
mailing list