2008/11/3 huntc <[EMAIL PROTECTED]>: > Hi there, > > I read around a bit and discovered that some of ActiveMQ's jars come OSGi > ready. I then managed to successfully deploy activemq-all-5.1.0.jar using > the OSGi based springsource-dm-server. activemq-all-5.1.0.jar comes as part > of the regular ActiveMQ distribution of course. > > What I am now curious to discover is how can I configure ActiveMQ within an > OSGi environment such that it effectively uses ActiveMQ's conf/activemq.xml > file? My basic goal is to have the openwire transport started up as normal > on port 61616. My secondary goal is to have this module available as a JMS > provider that other services can subscribe to. > > Are you able to point me in the right direction?
I'd recommend using Spring Dynamic Modules, then drop the conf/activemq.xml into META-INF/spring/activemq.xml and it should boot up OK. I've not tried this yet mind you - let us know how you get on :) -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/