Glenn,

 

I had a look at the vfs example and it is one of those based on the servicemix.xml construct, which is the SpringJBIContainer.  The initial version of the JBoss deployer was put in to deploy standard JBI jars.

 

However, since the ServiceMix.xml approach is so cool we have extended the JBoss deployer to allow it to work with this, it’s only a snapshot but I have updated the JBoss Deployer (http://docs.codehaus.org/display/SM/JBoss+Deployer)  page with a bit more information and a new download link.

 

The JBoss deployer will now also pick up XML files in the format *-sm.xml. So if you take the vfs-binding example servicemix.xml and rename it to vfs-binding-sm.xml and drop it in the deploy directory is will be picked up and deployed.

 

However, when you are working in this way you need to make sure the property createMBeanServer under the jbi element is false.  As for the JBoss WorkLoad class I didn’t bother with that I just used the Spring one, I believe JBoss 4.0.2 ships with a WorkLoadManager in the configuration but I couldn’t find it in the JNDI tree on the server and if you try and create it in the JBI containers definition you will probably need to create a ThreadPool for it.  I would imagine you can look up the JBoss WorkLoadManager if you wanted through JNDI (I seem to remember this on BEA).

 

I put the vfs-binding-sm.xml I used to test the deployer on the JBoss Deployer page http://docs.codehaus.org/display/SM/JBoss+Deployer

 

I hope this gets you going on ServiceMix/JBoss.  As for switching from ActiveMQ to JBossMQ I’m not sure how easy that would be as I believe that currently ServiceMix depends on ActiveMQ for internal usage, I’m sure James or Rob will have more information on that J

 

Cheers

 

P

 




The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.


Reply via email to