Versions Compared

Key

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

...

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.

This example uses PXE integration to demonstrate the use of BPEL with ServiceMix.

...

Warning
titleWarning

Note that ServiceMix works on any Java SE 1.4 or later environment; however to use PXE you need to use a Java SE 5 or later platform. So before trying to run this demo, use Java 1.5 to startup ServiceMix

...

Running the BPEL Example

First, run ServiceMix with a JNDI context configured so that PXE can be deployed.

...