activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: XBeans -> Spring configuration translation
Date Wed, 12 Jul 2006 09:33:00 GMT
On 7/12/06, Eugene Prokopiev <prokopiev@stc.donpac.ru> wrote:
> Hi,
>
> I have this XBeans:
>
> <persistenceAdapter>
>         <journaledJDBC journalLogFiles="5" dataDirectory="activemq-data"
> dataSource="#postgres-ds"/>
> </persistenceAdapter>
>
> I need to use it in my Spring config. How can I implement it in raw
> Spring beans? What it the general way to do it?

If you grep the code for the element names you should see the POJOs
which map to <journaledJDBC> etc. Then just use the Java code to
configure in Spring.

The dataSource="#postgres-ds" maps to a bean <property
name="dataSource" ref="postgres-ds"/>

-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message