Class ResponseStatus

  extended by 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"/>

or at a global level (jbossesb-properties.xml):
    <properties name="transports">
        <property name="org.jboss.soa.esb.http.responseStatusEnabled" value="false"/>

dward at

Method Summary
static boolean isHttpEnabled(ConfigTree actionConfig)
static void setHttpProperties(Properties properties, int statusCode, java.lang.String statusMessage)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


public static boolean isHttpEnabled(ConfigTree actionConfig)


public static void setHttpProperties(Properties properties,
                                     int statusCode,
                                     java.lang.String statusMessage)