Versions Compared

Key

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

...

However, note that lightweight components are generally deprecated; this one doesn't happen to have a (JBI component) replacement available yet.

What size hardware do I need to support a throughput of XYZ requests/second?

It depends. On things like the protocols, routing, transformations, and orchestration being used, the flow being used, whether ServiceMix is clustered, how long the actual services take to execute, and so on.

Note that in many cases (depending on the protocols in use) you can run load tests against the deployed services, and use that as a guide to hardware sizing.

Development Tools

Is there a GUI available to deploy services, set up routing, etc?

There have been two previous efforts to create an Eclipse-based GUI for things like this, but neither appears to be up to date. Our hope is that the Eclipse SOA Tools Project will provide a quality GUI for JBI/ServiceMix development.

There is a Web console available with which you can deploy JBI components, services, review endpoints WSDLs and flows, etc., etc. It is built-in to the Web app distribution of ServiceMix, or available as an add-on to the standalone distribution of ServiceMix.

Also, stay Stay tuned for more news in this area.

...

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.unit testing purposes.

It should be possible to have Maven start ServiceMix, deploy a service assembly to it, run integration tests against the deployed services, and then shut it down again. (This statement deliberately left vague.)

Or, you can start ServiceMix as part of a JUnit test, deploy various JBI components and Service Assemblies, and then run the bulk of the tests against that embedded ServiceMix instance. Here's a sample ServiceMix config file that does thatIt 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 also be able to use third-party tools like soapUI, JMeter, or various commercial tools to test the services when they are deployed to ServiceMix.

...