[jboss-dev-forums] [JBoss ESB Development] - Re: deducing host and port in new HTTP Gateway
dward
do-not-reply at jboss.com
Fri Sep 11 15:36:15 EDT 2009
An EPR has an address. A URL/URI is an address. A URL maps to an instance of the HttpGatewayServlet. In my opinion, the servlet is the gateway, but the URL is the endpoint. I am not saying that the servlet/gateway should have an EPR registered, but I am saying that the endpoint URL/address should be.
Also, why would we treat this differently than the JBossRemotingGatewayListener? When it is configured for http, we register an endpoint for the URL it listens on. Why wouldn't we be consistent and also register an endpoint for the URL an instance of the HttpGatewayServlet listens on?
Sorry. I'm not trying to belabor my point. I'm trying to understand if we're just hitting a semantical challenge here, or if there is a fundamental flaw in the paragraphs above.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254848#4254848
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254848
More information about the jboss-dev-forums
mailing list