通过在HTTP连接器上将followRedirects设置为true,我可以在浏览器中实现这一点。现在唯一的问题是它不适用于POST重定向。我现在正在从SoapUI进行SOAP调用,而不是使用浏览器。
Entity enclosing requests cannot be redirected without user intervention
Message : Failed to route event via endpoint: org.mule.endpoint.DynamicURIOutboundEndpoint@fd285ee0. Message payload is of type: PostMethod
Type : org.mule.api.transport.DispatchException
Code : MULE_ERROR-42999
Payload : org.apache.commons.httpclient.methods.PostMethod@9fa8f
JavaDoc : http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/transport/DispatchException.html