Configuring the Wildcard filter

The Wildcard filter applies a wildcard pattern to the message payload. This filter applies toString() 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

After dragging the Wildcard filter from the palette and dropping it on the canvas, double-click on the filter icon. A Pattern Property window shows up. There is only one attribute to configure for this filter and it is the pattern. You will see the example of using the Wildcard filter in this section.

How to do it...

In this section, you will use three components: the HTTP Endpoint, the Wildcard filter, and the Custom transformer.

  1. Open Mule Studio and enter the workspace ...

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.