|
NMR Flows has been edited by Eric Johnson (Mar 12, 2008). Content:ServiceMix allows for different message dispatch policies within the Normalized Message Router (NMR) Broker. They are as follows: Straight-through (ST) FlowA MessageExchange is routed straight to it's destination with no staging or buffering. A straight through flow is best suited for the cases where the ServiceMix JBI Container is deployed with simple flows (no state) or embedded, or where latency needs to be as low as possible. ST Flow Seda FlowThe Seda Flow introduces a simple event staging between the internal processes in the NMR Broker. A Seda flow, which is the default flow used by most components, is suited for general deployment. The additional staging is well suited buffering exchanges between heavily routed to components (where state may be being used) for example. Seda Flow JMS FlowA JMS Flow is used for cases where you need collaboration between more than one ServiceMix JBI Container (for fail-over or scalability). JMS Flow JCA FlowThe JCA Flow is very similar to the JMS Flow, in that it allow to cluster ServiceMix containers together. Configuring flowsIn versions of ServiceMix prior to 3.3 Flows were configured on the JBI container by usually using the flowNames attribute on the main container element. <sm:container flowNames="seda"> ... </sm:container> JMS and JCA flows should be configured with an ActiveMQ url to the broker. <sm:container flowNames="jms?jmsURL=tcp://localhost:61616"> ... </sm:container> You can define several flows by using a comma separated list. <sm:container flowNames="seda,jms?jmsURL=tcp://localhost:61616"> ... </sm:container>
|
Unsubscribe or edit your notifications preferences
