Versions Compared

Key

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

...

  1. From a command shell, go to the BPEL example directory:
    Code Block
    cd [servicemix_install_dir]\examples\bpel
    
    where servicemix_install_dir is the directory in which ServiceMix was installed.
  2. Then type:
    Code Block
    [servicemix_install_dir]\bin\servicemix servicemix.xml
    
    OR
    
    ..\..\bin\servicemix servicemix.xml
    

  3. To trigger the BPEL business process, send it some messages. To do this, compile and run a simple JMS client. The client is built and run from source code using Ant. Execute Ant from the BPEL directory: servicemix_install_dir\examples\bpel. To run the JMS client type:
    Code Block
    ant
    

    Ant will compile and run the simple JMS client, JMSClient, which performs a JMS based request-response into the ServiceMix container before returning the results to the console.
    Tip
    titleHandy Hint

    Add $SERVICEMIX_HOME\bin directory to $PATH variable to simplify execution of the example.

Stopping the BPEL Example

To terminate the BPEL example type "CTRL-C" in the command shell in which it is running and answer "y" to the "Terminate batch job (y/n)?" question.

...

For a brief explanation of the XML tags in the servicemi.xml file, please see: