Discussion:
http:OutboundEndpoint - setting http method dynamically
Pablo La Greca
2012-06-27 18:04:55 UTC
Permalink
it seems that the method attribute does not allow expressions.
<br /><br />
Try setting the method before the outbound endpoint with a message-property-transformer
<br /><br />
or better, use mule 3.3 simplified way!:
<br /><br />
HTH, Pablo.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
Pablo La Greca
2012-06-27 18:20:55 UTC
Permalink
it seems that the method attribute does not allow expressions.
<br /><br />
Try setting the method before the outbound endpoint with a message-property-transformer
<br />
<code>
<br />
&lt;message-properties-transformer&gt;
<br />
&lt;add-message-property key=&quot;http&#46;method&quot; value=&quot;your expression&quot;&#47;&gt;
<br />
&lt;&#47;message-properties-transformer&gt;
<br />
</code>
<br />
or better, use mule 3.3 simplified way!:
<br />
<code>
<br />
&lt;set-property propertyName=&quot;http&#46;method&quot; value=&quot;your expression&quot;&#47;&gt;
<br />
</code>
<br />
HTH, Pablo.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Loading...