Versions Compared

Key

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

...

It is also possible to audit message traffic – one option would be to use the EIP WireTap to send each message to both an auditing service and the usual destination (or similarly, the Static Recipient List pattern). Another (if using the JMS Flow) would be to configure a virtual destination in ActiveMQ and audit copies of the message traffic.

Performance

Does ServiceMix support clustering or load balancing?

Yes. Multiple ServiceMix instances can communicate via JMS using ActiveMQ.

As far as how to use a cluster, one way is to use the JMS or JCA flows to ensure that services deployed on a cluster are aware of each other and requests can be load-balanced across nodes in a cluster. That is harder to set up but effective without more manual intervention. An alternative is to manually define JMS endpoints and corresponding routing between machines in the cluster for cases where you need to send requests to a separate machine in the cluster, and otherwise always allow the local copy of a service to handle any request on a clustered machine. That is not as complex to set up, but requires manual configuration for every communication path between cluster nodes. In either case, you can deploy services to multiple cluster nodes and put them behind a load balancer.

Are requests queued internally on the bus?

Yes, when using the SEDA (default), JMS, or JCA flows. The optional Straight Through flow eliminates any queuing.

Development Tools

Testing

Complex Services

Publication / Discovery

...