You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by "Will F." <wi...@hotmail.com> on 2007/05/03 21:28:30 UTC

Configure distributed servicemix instances

Hi,

I need two distribute two service engines, let's say SE1 and SE2.  Each
service engine is going to run on different ServiceMix instances, let's say
SM1 and SM2.  And each ServiceMix instance is going to run on different
computers, let's say PC1 and PC2.

To clarify, SE1 will run on SM1 that will run on PC1 and SE2 will run on SM2
that will run on PC2.

Also SE1 consumes SE2.

ServiceMix version:3.1

Questions:

1) How can I configure both ServiceMix instances?
2) How can I configure both Service Engines so that SE1 can send a message
to SE2?

So far, I was able to configured a similar scenarion within a single
ServiceMix instance.  In other words I have SE1 sending a message to SE2. 
SE1 and SE2 were configured as part of a Service Unit that exposes a wsdl
for SE1.  I have an external client that is able to invoke the methods from
SE1 and then SE1 invokes and passes some data to SE2.

Thanks



-- 
View this message in context: http://www.nabble.com/Configure-distributed-servicemix-instances-tf3688477s12049.html#a10311604
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Configure distributed servicemix instances

Posted by Gert Vanthienen <ge...@skynet.be>.
Will,

You shouldn't have to change anything in your own artifacts.  If you
configure ServiceMix to run with clustering (1), it should be able to route
messages between computers automatically.  For this, you'll have to
configure ServiceMix to use the JMS Flow.  The rest of the config is about
getting the ActiveMQ instances to talk to each other (efficiently).

Gert


(1) http://incubator.apache.org/servicemix/clustering.html


Will F. wrote:
> 
> Hi,
> 
> I need two distribute two service engines, let's say SE1 and SE2.  Each
> service engine is going to run on different ServiceMix instances, let's
> say SM1 and SM2.  And each ServiceMix instance is going to run on
> different computers, let's say PC1 and PC2.
> 
> To clarify, SE1 will run on SM1 that will run on PC1 and SE2 will run on
> SM2 that will run on PC2.
> 
> Also SE1 consumes SE2.
> 
> ServiceMix version:3.1
> 
> Questions:
> 
> 1) How can I configure both ServiceMix instances?
> 2) How can I configure both Service Engines so that SE1 can send a message
> to SE2?
> 
> So far, I was able to configured a similar scenarion within a single
> ServiceMix instance.  In other words I have SE1 sending a message to SE2. 
> SE1 and SE2 were configured as part of a Service Unit that exposes a wsdl
> for SE1.  I have an external client that is able to invoke the methods
> from SE1 and then SE1 invokes and passes some data to SE2.
> 
> Thanks
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Configure-distributed-servicemix-instances-tf3688477s12049.html#a10352436
Sent from the ServiceMix - User mailing list archive at Nabble.com.