Agree, but since ActiveMQ is importing the file from activemq.xml, I can never be sure of its location.
On Wed, Nov 24, 2010 at 3:20 PM, Claus Ibsen <claus.ib...@gmail.com> wrote: > Is the XML file just a regular Spring XML file? > > I would assume you just do this as you would do using spring. > > On Wed, Nov 24, 2010 at 7:56 PM, Mark Webb <elihusma...@gmail.com> wrote: >> I am looking to persist some data I receive in my processor to a >> database using Spring and Hibernate. Does anyone have experience >> setting this up and maybe providing some tips on how to do it? Right >> now I have everything defined as spring beans in an XML file that is >> imported from activemq.xml. Problem is that if this file is >> referenced from activemq.xml, how can I build a BeanFactory in order >> to get at some of the beans, which in my case are DAO classes. >> >> Thanks, >> Mark >> > > > > -- > Claus Ibsen > ----------------- > FuseSource > Email: cib...@fusesource.com > Web: http://fusesource.com > Twitter: davsclaus > Blog: http://davsclaus.blogspot.com/ > Author of Camel in Action: http://www.manning.com/ibsen/ >