org.jboss.soa.esb.message
Class ResponseStatus
java.lang.Object
org.jboss.soa.esb.message.ResponseStatus
public class ResponseStatus
- extends java.lang.Object
Utility class for use by SOAPClient, SOAPProducer, SOAPProxy and HttpRouter. The default is
now that these actions will set the http response status back into the Message Properties,
which will then get returned in the http response of a synchronous invocation of the
<jbr-provider/> (JBossRemotingGatewayListener
) or <http-provider/> (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>
- Author:
- dward at jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isHttpEnabled
public static boolean isHttpEnabled(ConfigTree actionConfig)
setHttpProperties
public static void setHttpProperties(Properties properties,
int statusCode,
java.lang.String statusMessage)