Creating the custom transformer

A custom transformer is a user-defined transformer class that implements the org.mule.api.transformer transformer. Your class can extend AbstractTransformer or AbstractMessageAwareTransformer, depending on your requirements.

Getting ready

In this section, you will learn what a custom transformer is and how to configure it.

  1. Open Mule Studio and enter a name for the workspace as shown in the following screenshot:
    Getting ready
  2. To create a new project, go to File | New | Mule Project. Enter the project name as NameTransfer and click on Next and then on Finish. Your new project is created. You can now start the implementation.

How to do ...

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.