camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From selezovikj <>
Subject Camel and Oracle AQ
Date Tue, 07 Oct 2008 14:56:58 GMT

Hello everyone, 

I want to connect to a remote Oracle AQ broker and read from a queue. 
I am doing all my configuration in a spring config file, and this is what I
have done so far: 

<bean id="jms2" class="org.apache.camel.component.jms.JmsComponent">
		<property name="connectionFactory">
			<bean class="oracle.jms.AQjmsFactory"
				<constructor-arg index="0">
				<constructor-arg index="1" type="java.lang.String">
				<constructor-arg index="2" type="int">
				<constructor-arg index="3">

Later, I declare a camel context and declare the routing in the same config

<camelContext id="camel"
			<from uri="jms2:remoteQUEUE"/>
			<to uri="activemq:internalQUEUE"/>			

So my question is how do I set the username and password in order to connect
to the remote Oracle AQ broker ? 

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message