Choice in Mule Flow

Atmaram

I am trying to divide my flow according to the data present in the Map, which is formed after using Mule Transformer XMLMapper And XML to Map..

I have already tried many ways.. One of them present in Mule site was..

 <choice>
 <when expression="#[message.payload['interface_id'] == 'BK131108.1655.000698']" evaluator="map-payload">
     <processor-chain doc:name="Processor Chain">
  </when>
 </choice>

But this also won't work. Any Help???

David Dossot

Remove:

evaluator="map-payload"

You are forcing the use of the old expression evaluation framework while providing a MEL expression.

After removing it, and if the message payload is a map that contains the "interface_id" key, then the expression should work.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Mule Routing Choice based on Flow Variable Value

From Dev

Integer Comparision in mule choice component

From Dev

Mule: Exception Handling in File transfer Mule flow

From Dev

Mule async scope with flow ref and flow variables

From Dev

Is there away to pass in a flow reference to a mule flow?

From Dev

Is there away to pass in a flow reference to a mule flow?

From Dev

mule flow to create and download files

From Dev

Dynamic table creation in mule flow

From Dev

Mule - Retry connection with basic flow

From Dev

Mule ESB and maximum flow threads

From Dev

Mule ESB data flow design

From Dev

Dynamic table creation in mule flow

From Dev

Mule ESB data flow design

From Dev

Mule ESB and maximum flow threads

From Dev

How to test a Mule application flow?

From Dev

How to stop asynchronous flow in mule

From Dev

Pros and Cons of using Choice Router in Mule

From Dev

Mule choice expression gives Stream Closed error

From Dev

Mule ESB can not trigger Choice 'when' condition

From Dev

Check node exists in XML using a Choice in Mule

From Java

Call a flow of one mule project in another mule project

From Dev

Mule ESB - How to load a config xml (custom) file in Mule flow

From Dev

How to get mule security context or security principal reference in mule flow

From Dev

Mule - Set properties on spring object call in Mule flow

From Dev

Mule OAuth2 - Externalise client config from mule flow

From Dev

how to catch exception thrown by smooksTransformer in mule flow?

From Dev

Mule Flow Variable vs Session Variable Performance

From Dev

How to find out Mule flow status

From Dev

Setting Map as payload in Mule Flow using MEL

Related Related

HotTag

Archive