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

tfennelly do-not-reply at jboss.com
Wed Jun 17 05:49:07 EDT 2009


"Kevin.Conner at jboss.com" wrote : "tfennelly" wrote : Apparently we can't do this and I don't really get why.  Can you explain your logic here Kev please?
  | I know we have discussed this on a number of occasions, Monday being the last.  All I can do is repeat what was said before.
  | 
  | (12:18:47) Tom Fennelly: another quick one... the mep issue
  |   | (12:18:55) Tom Fennelly: what was the issue with the?
  |   | (12:19:26) Tom Fennelly: you don't wanna use it to decide whether or not a respnse is sent back?
  |   | (12:19:33) Kevin Conner: The mep of the service has no bearing on the http gateway, it is an implementation config
  |   | (12:19:36) Kevin Conner: You can't
  |   | (12:19:57) Kevin Conner: A response can be sent back from a OneWay mep if it chains the request
  |   | (12:20:13) Kevin Conner: Service A (OneWay) -> Service B (RequestResponse)
  |   | (12:20:37) Kevin Conner: It is an implementation detail and not part of the service contract
  | 

Right, we didn't continue after that point and that comment didn't really add up for me :)

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)
  | 

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.

Of course, perhaps I have totally misunderstood what a "RequestResponse" mep means and that it doesn't mean what it says on the tin (to steal a phrase from a TV add for paint :) ).  If I have, I suspect I'm not the only one.

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

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



More information about the jboss-dev-forums mailing list