gmojunior
gmojunior

Reputation: 292

How can I identify the message type received?

I am using mule 3.5.

I have 2 flows to send a message, but I have to know what is the message type, if it is a JSON, an Object or a XML, so how can I do that? I read something about filters, but I dont know how to use, cause did not find any example.

Thanks.

Upvotes: 0

Views: 52

Answers (1)

ppiixx
ppiixx

Reputation: 139

Have you read the documentation?

Using Filters

The first example shows filtering based on the type of the payload.

You can also check the type using expressions, see Mule Expression Language

Upvotes: 1

Related Questions