This page last changed on Jul 29, 2006 by aperepel.

This cookbook is a repository for Mule sample code snippets.

  • Bridge Component
  • Bridging ProtocolsThis example configuration shows how to configure a Mule component read a File from a location and dispatch it over tcp without performing any interim processing using the Bridge Component.
  • Calling .NET web-service using AxisThis is a simple example of how a remote web-service can be executed through SOAP. It is useful when the web-service is hosted on a server with an unavailable MULE provider such as a .NET web-service.
  • Configuring a Component Exception QueueYou can configure an exception strategy on a component that will forward any exceptions thrown during processing to an error queue.
  • Configuring Multiple Jms ClientsIf you have multiple Jms clients with different connection credentials you can pass in credentials as part of the jms endpoint Uri i.e.
  • Configuring Tcp Request-ResponseTo set up a Tcp socket server in Mule for request/response processing you just need to add an inbound tcp endpoint to your component.
  • File Delivery Receipt via SMTPIn this Example we are going to configure Mule to monitor a certain folder and once a file is received, we move it to another location and send an email notifying that the file has been received.
  • Http RedirectionThis short cookbook shows how we can redirect an httpclient once an event has been received.
  • Jms Provider BridgingYou can bridge different Jms implementations even if they are based on different versions of the Jms specification.
  • LoggingThe following describes how Logging is configured in Mule and how you can change it.
  • Moving a File with the File TransportMoving a file from one directory to another can be done by setting the moveToDirectory property of the FileConnector.
  • Reading a large file line by lineA solution for reading from a large file and generating one event per line.
  • Tcp File Transfer ExampleThis example shows how to configure a Mule component read a File from a location and dispatch it over tcp but allowing the component to read the file first.
  • Using Jms RedeliveryWhen a Jms session is transacted and a message gets rolled back, the JMSRedelivered flag is set on the message.
  • Using Multiple Configuration FilesMule Xml configuration files can get large so you can split the configuration into multiple files.
Document generated by Confluence on Oct 03, 2006 09:23