Was there a way to remove MULE Session on Mule 3.7

2019-09-03 07:16发布

问题:

On the previous version of mule we could aways add,

    <service-overrides sessionHandler="org.mule.session.NullSessionHandler"/>

for removing the mule session for http connector, but how can you remove the mule session for http request(newer version of http connector)

回答1:

You could just try removing the MULE_SESSION header before the outbound call:

<remove-property propertyName="MULE_SESSION" />