-
1. Re: Return From ESB pipeline
massios Mar 8, 2010 6:26 AM (in response to poyge394)I would do it like that
Service 1
* Webservice Front
* call backend synchron
* invoke "Service 2" asynchronously
* return hear to the client. ---> Hear i whant to return to the client.
Service 2
* some action
* call other backend asynch
-
2. Re: Return From ESB pipeline
poyge394 Mar 8, 2010 7:18 AM (in response to massios)yes, i can do that, but is it possible to avoid 2 services ? -
3. Re: Return From ESB pipeline
h.wolffenbuttel Mar 8, 2010 10:39 AM (in response to poyge394)Hi Poyan,
if you want to use but one service you need to put everything in one pipeline:
* Webservice Front
* call backend synchron
* some action
* call other backend asynch
* return here to the client. ---> Here i whant to return to the client.
Otherwise you need 2 services. You can't return a response in the middle of a pipeline as far as I know. You can however send a message to the reply-queue but I don't know what will happen if you do that within the same request-response pipeline.
For efficiency I would suggest to implement the 2 sevices configuration.
Regards,
Hans