O'Reilly logo

Mule ESB Cookbook by Uchit Vyas, Azaz Desai, Abdul Samad, Dr. Zakir Laliwala

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Custom filter

Use a Custom filter to reference a user-implemented filter. Note that the reference is to a class implementing the Filter interface.

Getting ready

The Filter class is required if this is a global filter. After dragging the Custom filter from the palette and dropping it onto 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 Filter class.

How to do it...

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

  1. Open Mule Studio and enter the workspace name as shown in the following screenshot:
  2. To create a new project, go to File | New | Mule Project. Enter the project name

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required