Greg,

with NMR Clustering engine, you have right, it's totally transparent and valid whatever the endpoint's component is. You can use it for HTTP, SMPP, etc endpoints. If you compare the SMX4/NMR cluster engine with the SMX3 one, it has been completely rewritten. It's not only load-balancing but really clustering with the rollback and redelivery when a JBI exchange fail, the pause of new exchanges processing when the number of concurrently processed messages reach a given threshold.

Charles uses a karaf/smx instance. In this instance, he deploys camel, camel-jetty and camel-http. It's only load-balancing (not really clustering).

In pure OSGi, it's maybe possible to use OSGi Remote Services specification via CXF. Basicly, it provides distributed services (like RMI-IIOP in the JEE world).
Like this, you can use a bundle service remotely.
It works fine from point A to point B but I never tried to define cluster or load-balancer with this mechanism. You can find some informations here:
http://cxf.apache.org/distributed-osgi.html

Maybe Gert or Guillaume have more informations about this.

Regards
JB

Grégory Le Bonniec wrote:
Jean-Baptiste,

What I understand is :

- I we want to call an endpoint transparently we have to use JBI
- I we want to non-JBI cluster, we can use HTTP (like in Charles' example)
or JMS, but it's not transparent

Am I right ?

Regards

Grégory LE BONNIEC
blog : http://java-soa.blogspot.com/
mail : [email protected]
tel : 06.28.40.94.35


2010/1/8 Jean-Baptiste Onofré <[email protected]>

Hi Greg

It's not really component but endpoint.

The cluster engine is a feature not active by default in the NMR. You need
to add it manually.

This cluster engine is in the NMR so only applicable for the JBI world. But
if you have an OSGi bundle that uses a JBI endpoint via the
EndpointExporter, it works.

The explanation is here:
http://servicemix.apache.org/SMX4NMR/13-clustering.html

If you want clustering/load-balancing without JBI, you can use SMX/Camel.
Charles has already make some samples of load balancing:
http://issues.apache.org/activemq/browse/CAMEL-2286

Regards
JB


Grégory Le Bonniec wrote:

Hi,

Concerning ServiceMix 4 Clustering, will it be possible to call a
component
A on a container A from a component B on a container B transparently
without
using JBI ?

Regards

Greg


--
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
[email protected]
PGP : 17D4F086



--
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
[email protected]
PGP : 17D4F086

Reply via email to