1 Feb 02:31
Help on routing using HTTP Path
Hi community,
Just need your idea for routing using HTTP Inbound Endpoint's Path. I am having problem using the correct
route evaluator and expression as I am not yet quite familiar to using the expressions.
Here is my idea for this problem.
<context:property-placeholder location="classpath:muleconfig.properties"></context:property-placeholder>
<flow name="wsflow" doc:name="wsflow">
<inbound-endpoint address="http://${mule.http.host}:${mule.http.port}/${mule.http.path}"
exchange-pattern="request-response" doc:name="Generic"/>
<echo-component doc:name="Echo"/>
<choice doc:name="Choice">
<when expression="*?*" evaluator="*?*">
<processor-chain>
<logger message="LOG FOR TEST 1 #[payload]" level="INFO" doc:name="Logger"/>
</processor-chain>
</when>
<when expression="*?*" evaluator="*?*">
<processor-chain>
<logger message="LOG FOR TEST 2 #[payload]" level="INFO" doc:name="Logger"/>
</processor-chain>
</when>
</choice>
</flow>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
(Continue reading)
RSS Feed