Versions Compared

Key

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

...

  • an example of declarative programming
  • how to perform BPEL integration with ServiceMix
  • shows the use of JmsTemplate for publishing and subscribing to ActiveMQ topics

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 has a client application (JMSClient) which sends a SOAP message to a JmsServiceComponent (myComponent) which forwards the request to the PXE BPEL engine and waits for a response. The client is placing a book order and the ServiceMix binding component receives the order and sends it to the Webservice that takes orders. The client and the binding component (myComponent) communicate via JMS. The binding component (myComponent) and the PXE service engine communicate over the Normalized Mesage Router (NMR). A simple JMS client is provided so that messages can sent and received from the JMSService. This example uses PXE integration to demonstrate the use of BPEL with ServiceMix.

...