-
1. Re: HTTP response (status) codes should be returned through
dward Jul 27, 2009 1:52 PM (in response to dward)The Subject got chopped. It should have read "HTTP response (status) codes should be returned through relevant gateways"
-
2. Re: HTTP response (status) codes should be returned through
dward Jul 28, 2009 10:46 AM (in response to dward)I'm starting to think that this was wrong behavior to begin with (it was a bug), so I think the default for everything is to return the response code. It should be overrideable at an action level via a property, and globally in the "transports" section of jbossesb-properties.xml.
-
3. Re: HTTP response (status) codes should be returned through
dward Jul 29, 2009 4:46 PM (in response to dward)I didn't hear any feedback, so I went ahead and made this change.
The default for SOAPClient, SOAPProducer, SOAPProxy and HttpRouter is now such that their response status will get returned by either the JBossRemotingGatewayListener and/or the HttpGatewayListener.
If you want the legacy behavior, you can override this at an action level (META-INF/jboss-esb.xml):<action name="..." class="..."> <property name="http.responseStatusEnabled" value="false"/> </action>
or at a global level (jbossesb-properties.xml):<esb> <properties name="transports"> <property name="org.jboss.soa.esb.http.responseStatusEnabled" value="false"/> </properties> </esb>
Again, the default is now true. I still have to update the docs about this. -
4. Re: HTTP response (status) codes should be returned through
kconner Jul 30, 2009 4:23 AM (in response to dward)"dward" wrote:
I didn't hear any feedback, so I went ahead and made this change.
You didn't hear feedback from me because I *thought* you were doing performance work and not this. I thought that I had time to finish my tasks first :)"dward" wrote:
The default for SOAPClient, SOAPProducer, SOAPProxy and HttpRouter is now such that their response status will get returned by either the JBossRemotingGatewayListener and/or the HttpGatewayListener.
...
Again, the default is now true. I still have to update the docs about this.
We should also make sure that something gets highlighted in the release notes, I'll create a task for it.
Kev