[jboss-dev-forums] [Design of JBoss ESB] - Re: Http Gateway - requirements please...

Kevin.Conner@jboss.com do-not-reply at jboss.com
Wed Jun 17 08:29:29 EDT 2009


"tfennelly" wrote : As I see the use cases around this, we have the following type of interaction (which doesn't look like the interaction you have above):
  | 
  |   | (sync-http-client) --> (http-gateway) --> (Service)
  |   | 
Sure it does, you just need to add the second service

  | (sync-http-client) --> (http-gateway) --> (OneWay, routing Service) -> (RequestResponse service)
  | 

"tfennelly" wrote : One way or another, the Http Gateway is going to be returning a synchronous response to the sync client.  The question is what does the Http Gateway return?  Even after your comments on IM, I still don't see why we can use the mep of the service.
The gateway can still make a synchronous call to a service defined with an mep of OneWay as, in the example above, it is a subsequent service which is responsible for sending the reply.  Your code will, erroneously, assume that it is oneway from the client's perspective when that is not the case.  It is the combination of the services which provide the request/response behaviour.

Kev

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238203#4238203

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238203



More information about the jboss-dev-forums mailing list