Configuring the Logic filters – And/Or/Not

Use the And filter to join two or more filters. The And filter accepts a message and returns true only if all of its enclosed filters return true. The Or filter accepts the message if the message matches the criteria of any of its filters. The Wildcard filter applies a wildcard pattern to the message payload. This filter applies a string to the payload, so you might also want to apply a Payload Type filter to the message using an And filter to make sure the payload is a string.

Getting ready

In this section, you will use three components: the HTTP Endpoint, the Or filter, and the Java component. You will also learn how to configure the Or filter. Perform the following steps to create a new project in Mule ...

Get Mule ESB Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.