camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Camel and Oracle AQ
Date Wed, 08 Oct 2008 10:05:11 GMT
2008/10/8 selezovikj <semir.elezovic@gmail.com>:
>
> So, this should be my final version:
>
> <bean id="credentials"
>
> class="org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter">
>                <property name="targetConnectionFactory">
>                        <ref bean="connectionFactoryOracleAQ"/>
>                </property>
>                <property name="username">
>                        <value>USER</value>
>                </property>
>                <property name="password">
>                        <value>PASS</value>
>                </property>
> </bean>
>
> <bean id="jms2" class="org.apache.camel.component.jms.JmsComponent">
>        <property name="connectionFactory">
>            <inject bean="credentials"/>
>        </property>

change the above to

   <property name="connectionFactory" ref="credentials"/>



-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Mime
View raw message