Access Keys:
Skip to content (Access Key - 0)
community header community tab mule tab galaxy tab muleforge tab
Mule 1.x Community Edition is no longer supported. See the Mule 2.x Getting Started Guide to download and migrate to Mule 2.x.

Bookstore Example

The bookstore example shows how to use CXF with Mule. There is also a corresponding PowerPoint presentation, which you can download here. For information on using the CXF transport, see [CXF Transport]. This example is available as of Mule Enterprise Edition 1.6 and Mule Community Edition 2.0.

The bookstore example contains the following:

Bookstore: mule-bookstore-demo
The bookstore is a simple JAX-WS web service that allows publishers to add books to the store, users to retrieve the list of books, and users to place orders for books. It uses the Mule connector to publish the JAX-WS service inside Mule. To start this example, run the Main class.

When an order is placed, it is configured to send an email via Mule to the user confirming the order. To place an order with the service, simply run the ClientMain class.

Publisher: mule-publisher-demo
The publisher takes CSV files (which are hypothetically published from another system), converts them into Books, and then uses the CXF outbound router to send them to the bookstore. Be sure to run the Bookstore example before the Publisher example or the Publisher example will not work correctly. See the readme file in the Bookstore example directory for more information.

Adaptavist Theme Builder (3.3.3-conf210) Powered by Atlassian Confluence 2.10, the Enterprise Wiki.
Free theme builder license