jbi:embedded...

2006-08-08 Thread Terry Cox
When starting a ServiceMix instance, it makes sense to me to put the 
ActiveMQ-related config in the top level servicemix.xml and then put JMS 
component-related stuff in Service Units that can be deployed in the 
container.


Only trouble is, creating a connection pool depends on commons-pool 
which isn't installed in the lib directory by default, so the 
jbi:embeddedServicemix can't start...


Terry


Re: jbi:embedded...

2006-08-08 Thread Guillaume Nodet

If you put commons-pool as a dependency of your project, the
jbi:embeddedServicemix goal will put it in the classpath.
I've just raised a JIRA so that commons-pool kept as a dependency of
activemq
and included in the classpath / distribution.

On 8/8/06, Terry Cox [EMAIL PROTECTED] wrote:


When starting a ServiceMix instance, it makes sense to me to put the
ActiveMQ-related config in the top level servicemix.xml and then put JMS
component-related stuff in Service Units that can be deployed in the
container.

Only trouble is, creating a connection pool depends on commons-pool
which isn't installed in the lib directory by default, so the
jbi:embeddedServicemix can't start...

Terry





--
Cheers,
Guillaume Nodet