camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: hibernate and spring with camel
Date Wed, 24 Nov 2010 20:51:05 GMT
Hi

You can use your own xml file to boot up AMQ. You dont have to use the
default files.

And what do you mean by? Sure of its location?


On Wed, Nov 24, 2010 at 9:24 PM, Mark Webb <elihusmails@gmail.com> wrote:
> 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.ibsen@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 <elihusmails@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: cibsen@fusesource.com
>> Web: http://fusesource.com
>> Twitter: davsclaus
>> Blog: http://davsclaus.blogspot.com/
>> Author of Camel in Action: http://www.manning.com/ibsen/
>>
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message