You can start multiple brokers, but they will be completely independant.
This means that the only way to send a message from one broker to the other is to go through
a binding component (or a clustered flow).

Cheers,
Guillaume Nodet

Mats Norén wrote:

Guillaume Nodet wrote:

Hi Mats,

see comments inline

Routing is done accordingly to the JBI spec (you should read it eitherway), but mainly, when you send a message, you have to tell the NMR where it should be routed, by specifying the interface, service or destination endpoint. The endpoint (service name + endpoint name) is unique within the container, so that's the most specific way. You can also choose to specify only the service name or the interface name. The NMR will retrieve these informations and choose an endpoint accordingly. There is way to customize the choose of an endpoint when the service name or interface name is specified.
See org.servicemix.jbi.nmr.Broker class for that.


Ok, thanks for the pointer. Is it possible to use multiple/different broker implementations inside one servicemix instance?

/Mats



Reply via email to