I would like to avoid deploying multiple containers. Indeed, if I do that for
my use case, it will imply deploying 1 container per SA.
In fact I would like to deploy dynamically csonsumer/provider enpoints to BC
SU.
I'm trying to implement a SE providing this deployment service.
The idea is to use the same method as in some ServiceMix JUnit Tests:
this.getServiceUnit().getComponent().getServiceUnitManager().deploy(<SU
name>, <xbean file>);
this.getServiceUnit().getComponent().getServiceUnitManager().start(<SU
Name>);
This service take in parameter a SU name and a xbean file.
But according to a thread in this forum, this is not recommanded. Why?
Moreover I've some difficulties with this approach as the enpoint namespace
cannot be resolved (I suppose the classpath is wrong).
So is it the right approach?
Can you recommand another solution?
Thank
Christophe
bsnyder wrote:
>
> On 10/3/07, xtof <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello,
>>
>> We are planning to use ServiceMix as a mediation framework between
>> various
>> System and a Manager of Manager.
>> Our question concerns the packaging and deployment.
>>
>> For integrating a System with the Manager of Manager we should have this
>> typical deployment of components:
>>
>> System A -> a-in-BC -> a-in-SE ---------> MoM-in-SE -----> MoM-in-BC
>> --------> Manager Of Manager
>>
>> System A <- a-inout-BC <- a-inout-SE <--- MoM-inout-SE <----MoM-inout-BC
>> <----- Manager Of Manager
>>
>>
>> So we plan to deliver a First common Service Assembly composed of:
>> MoM-in-BC + MoM-inout-BC + MoM-inout-SE + MoM-in-SE
>>
>> For each type of System we plan to deliver a Service Assembly composed
>> of:
>> xxx-in-BC + xxx-in-SE + xxx-inout-BC + xxx-inout-SE
>> For each BC we plan to define a configuration file for configuring the
>> endpoints according to the customer context (port number, system ip
>> address,
>> ....)
>> For integrating this Service Assembly on a production platform, the
>> integrator just need to fill the configuration file and deploy the
>> Service
>> Assembly.
>>
>>
>> But how managing the case where we have multiple Systems of the same type
>> to
>> integrate to the same Manager of Manager?
>
> Are you asking how to deploy multiple copies of your SAs to multiple
> ServiceMix containers?
>
> Bruce
> --
> perl -e 'print
> unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Apache Geronimo - http://geronimo.apache.org/
> Castor - http://castor.org/
>
>
--
View this message in context:
http://www.nabble.com/Packaging-and-deployment-question-tf4561543s12049.html#a13054819
Sent from the ServiceMix - User mailing list archive at Nabble.com.