Versions Compared

Key

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

...

The following procedure describes how to run the Http Binding example and provides details regarding what it does. For information on the business use case, please refer to: Use Case for JMS Http Binding.

The JMS Http Binding example illustrates:

...

The source code for the Http Binding example is located in the ServiceMix installation directory under the examples\http-binding directory in the servicemix.xml file. It is recommended that you refer to the source code while reading this document.

This example shows how to connect use the Http HTTP bindings to handle a simple service componenthttp post. One component listens for a JMS message on topic 'demo.org.servicemix.source' while another publishes processed messages to topic 'demo.org.servicemix.result'. A simple JMS acts as the http server that listens to on http://localhost:8912Image Added while another invokes another service implemented as a URLEndpoint. A simple HTTP client is provided so that messages a simple post can be sent and received set to and from the ServiceMix Containerserver.

Running the Http Binding Example

...