L.S., You could use any kind of transport/protocol supported by Camel to connect the two boxes (HTTP, mina, ...). However, since both ServiceMix boxes already have an embedded ActiveMQ broker, the best solution is probably to configure those brokers to become a network of brokers (cfr. http://activemq.apache.org/networks-of-brokers.html). This way, you can just communicate with the local queue and ActiveMQ will store/forward the message when necessary.
If you're already using JBI, you could also use the JBI cluster engine (which uses the same ActiveMQ technique to forward the JBI MessageExchange to the remote box) which allows you to send to a JBI endpoint and then the cluster engine knows whether or not to forward that. Note that JBI only allows for XML payloads though. We are planning to make that same feature availalable for the NMR as well (cfr. https://issues.apache.org/activemq/browse/SMX4NMR-193) but that's not available in the latest version of ServiceMix yet. Regards, Gert ----- Regards, Gert Vanthienen ------------------------ Open Source SOA: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ -- View this message in context: http://camel.465427.n5.nabble.com/Federating-Endpoints-between-separately-hosted-Servicemix-tp1686244p1977784.html Sent from the Camel - Users mailing list archive at Nabble.com.
