I have an abstract-message-processor I built that I want to encapsulate inside of a boolean evaluation so that I can turn it off under certain conditions. I'm looking to write something like this:
<flow name="myFlow">
<if expression="${myFlag} == true">
<mynamespace:myCustomMessageProcessor .../>
</if>
</flow>
Is this possible in Mule ESB? Is there an example I can review?