Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The XML code for the BPEL example is located in the ServiceMix installation directory under the examples\bpel directory in the servicemix.xml file. It is recommended that you refer to the servicemix.xml file while reading this document.

This example will start a component which sends a SOAP message to a JmsServiceComponent which forwards the request to the PXE BPEL engine and waits for a response. A simple JMS client is provided so that messages can sent and received from the JMSService.

The BPEL XML file, servicemix.xml, contains two components and a supporting bean. One component waits for a file to be deposited into the the inbox directory, retrieves it, creates a normalized message that contains the file, then sends the message to the Normalized Message Router (NMR). The NMR routes the file to another component, which deposits it into an outbox directory.

...

Send the business process messages to trigger it. Compile and run a simple JMS client, . The client is built and run from source using Ant, http://ant.apache.orgImage Added. Just execute 'ant' from the current directory to run the JMS client.

Code Block
ant

This will compile and run a simple JMS client which performs a JMS based request-response into the ServiceMix container before returning the results to the console.

...