You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

ServiceMix has a WAR which can be used to deploy ServiceMix inside any J2EE application server or Servlet Engine.

Creating the WAR from the source

Get the latest checkout then perform the following command

cd tooling/servicemix-web
maven run

Then point your browser to http://localhost:8080/ to see the management console. There are also one or two examples described below.

You should see the simple demo which performs a HTTP GET/POST into the JBI container and shows the result in your browser. This example renders better in FireFox which handles XML response types nicer than Safari.

An alternative is to use your existing Servlet engine and type this instead

maven war

Then deploy the war into your servlet engine. You'll typically need to use a different URL then such as http://localhost:8080/servicemix-web/examples/

Examples

The ServiceMix WAR comes with an example of using a HTTP GET or POST to invoke a JBI operation. To run the example get the latest checkout then perform the following

cd tooling/servicemix-web
maven run

Then point your browser to http://localhost:8080/examples/

You should see the simple demo which performs a HTTP GET/POST into the JBI container and shows the result in your browser. This example renders better in FireFox which handles XML response types nicer than Safari.

An alternative is to use your existing Servlet engine and type this instead

maven war

Then deploy the war into your servlet engine. You'll typically need to use a different URL then such as http://localhost:8080/servicemix-web/examples/

  • No labels