Versions Compared

Key

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

...

If you're starting a new Maven project, there are also archetypes available for many types of JBI and ServiceMix modules.

Testing

What are the options for testing services during development?

For starters, if your services are Java Beans or Spring Beans, you can probably unit test them without ever deploying them to an ESB. So you might have a Service Unit module, with an xbean.xml file for when the service is packaged for deployment, and perhaps a separate spring-test.xml that configures the service and any needed stubs or whatever for unit testing purposes.

It should be possible with Maven to start ServiceMix, deploy a service assembly to it, and then run integration tests against the deployed services.

Depending on the protocols used by the services, you might be able to use third-party tools like soapUI, JMeter, or various commercial tools to test the services when they are deployed to ServiceMix.

Complex Services

Publication / Discovery

...