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

Configuring the Object-to-XML transformer

The Object-to-XML transformer is used to transform a Java object to XML data. In this example, you will see how to retrieve data from the database and how to store data in a particular XML file through the Object-to-XML transformer. Here, you will use the table from the previous example. We will use three components: the Database Endpoint, the Object-to-XML transformer, and the File Outbound Endpoint.

Getting ready

In this section, you will see how to configure the Database Endpoint in Mule Studio.

  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, ...

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