2008/10/8 selezovikj <[EMAIL PROTECTED]>: > > 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
