[
https://jira.jboss.org/jira/browse/JBESB-2511?page=com.atlassian.jira.plu...
]
David Ward commented on JBESB-2511:
-----------------------------------
Rune, were you in #jbossesb? 'Cause I was just talking about this...
(12:19:49 PM) david_ward2: found a bug in HttpRouter.java... Should I create a jira for
it and fix it? I fixed it on my local workspace...
(12:20:07 PM) david_ward2: Line 162: Header[] responseHeaders =
method.getRequestHeaders();
(12:20:12 PM) david_ward2: should be Header[] responseHeaders =
method.getResponseHeaders();
(12:20:31 PM) david_ward2: I can just throw it on trunk...
(12:27:18 PM) david_ward2: spoke too soon...
(12:27:43 PM) david_ward2: for some reason "Content-Type" getting *returned*
from HttpRouter is not making it back out of the JBR gateway...
(12:27:48 PM) david_ward2: hmmmm.... gotta track that down
(12:30:37 PM) david_ward2: the header is coming back... and the response containing the
headers is being put back in the msg body under HttpResponse.RESPONSE_KEY... now gotta see
why it's not getting set in the response headers back out of the JBR gateway
(12:31:05 PM) david_ward2: So I still think that line should be fixed, although it
doesn't solve my immediate problem... ;)
(12:46:52 PM) david_ward2: In JBossRemotingGateway's decompose method, it's
getting the *REQUEST* properties and adding them as ResponseHeaders.... totally ignoring
what came from back from behind the HttpResponse.RESPONSE_KEy.
(12:46:56 PM) david_ward2: the plot thickens... ;)
HttpRouter is inconsistent in its handling of response headers
--------------------------------------------------------------
Key: JBESB-2511
URL:
https://jira.jboss.org/jira/browse/JBESB-2511
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Adapters
Affects Versions: 4.5
Reporter: Rune Molin
Assignee: Tom Fennelly
Fix For: 4.6
org.jboss.soa.esb.actions.routing.http.HttpRouter places http response headers in the
body of the message. The JBR Gateway expects http response headers to be in the message
properties, meaning the two can not easily be combined into a simple webservice proxy
service.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira