Hi Josn,
Your requirement looks like a endpoint proxy.
You can do it using the ServiceMix NMR clustering, acting that you want
to use JBI.
You have two ServiceMix instances: smx1 and smx2.
Both smx1 and smx2 uses the same ActiveMQ broker.
You install the jbi-cluster feature on both smx1 and smx2.
After that, you can define a cluster endpoint on smx1.
ServiceMix can "transport" the message from smx1 to the target endpoint
on smx2.
You can take a look:
http://servicemix.apache.org/nmr/13-clustering.html
Another solution is to write a bean to use the ActiveMQ broker as a
transport (or another transport protocol) to a remote target endpoint.
Regards
JB
On 06/15/2011 08:30 AM, josn wrote:
Hi,
I would like to cascade two servicemix servers, S1 and S2. S2 has some
services that S1 doesnt have. but all client can only access S1, If client
has to access services of S2, it must access S2 by S1. I think I could write
a BC to cascade the two servers. but have no idea about the detail of this
BC.
Any Help?
Best withes!