You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by mqaiserm <Qa...@revolution.com> on 2006/05/18 17:20:35 UTC

importing multiple configuarion files

Can we use multiple configuration files , like Servicemix1.xml ,
Servicemix2.xml , can we import them in one file ?
--
View this message in context: http://www.nabble.com/importing-multiple-configuarion-files-t1644047.html#a4452859
Sent from the ServiceMix - User forum at Nabble.com.


Re: importing multiple configuarion files

Posted by Bruce Snyder <br...@gmail.com>.
On 5/18/06, Bruce Snyder <br...@gmail.com> wrote:
> On 5/18/06, Bruce Snyder <br...@gmail.com> wrote:
> > On 5/18/06, mqaiserm <Qa...@revolution.com> wrote:
> > >
> > > Can we use multiple configuration files , like Servicemix1.xml ,
> > > Servicemix2.xml , can we import them in one file ?
> >
> > ServiceMix does not support the use of more than a single
> > configuration file per instance. If you have a need for multiple
> > configuration files, you should consider the use of a Service Assembly
> > as they each have their own configuration file and are hot deployable.
>
> I'll clarify my statements above just a bit here. ServiceMix does
> support a large servicemix.xml file being split up into mulitple files
> for manageability. But the multiple files can only comprise a single
> instance of

Whoops, I bumped the send button.

The multiple files can only comprise a single instance of the
<sm:container> element. In fact, a very good example of this are the
files in the conf directory that use the <import> element like so:

<import resource="classpath:jndi.xml" />

Above is an example of importing a file and using a hint to tell
Spring that the file is on the CLASSPATH.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://incubator.apache.org/activemq/
Apache ServiceMix - http://incubator.apache.org/servicemix/
Castor - http://castor.org/

Re: importing multiple configuarion files

Posted by Bruce Snyder <br...@gmail.com>.
On 5/18/06, Bruce Snyder <br...@gmail.com> wrote:
> On 5/18/06, mqaiserm <Qa...@revolution.com> wrote:
> >
> > Can we use multiple configuration files , like Servicemix1.xml ,
> > Servicemix2.xml , can we import them in one file ?
>
> ServiceMix does not support the use of more than a single
> configuration file per instance. If you have a need for multiple
> configuration files, you should consider the use of a Service Assembly
> as they each have their own configuration file and are hot deployable.

I'll clarify my statements above just a bit here. ServiceMix does
support a large servicemix.xml file being split up into mulitple files
for manageability. But the multiple files can only comprise a single
instance of

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://incubator.apache.org/activemq/
Apache ServiceMix - http://incubator.apache.org/servicemix/
Castor - http://castor.org/

Re: importing multiple configuarion files

Posted by Bruce Snyder <br...@gmail.com>.
On 5/18/06, mqaiserm <Qa...@revolution.com> wrote:
>
> Can we use multiple configuration files , like Servicemix1.xml ,
> Servicemix2.xml , can we import them in one file ?

ServiceMix does not support the use of more than a single
configuration file per instance. If you have a need for multiple
configuration files, you should consider the use of a Service Assembly
as they each have their own configuration file and are hot deployable.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://incubator.apache.org/activemq/
Apache ServiceMix - http://incubator.apache.org/servicemix/
Castor - http://castor.org/