camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prajath <prajig...@gmail.com>
Subject rabbitMQ message forwarding from one queue to another
Date Fri, 18 Sep 2015 11:19:50 GMT
Hi All,
could you please help me to resolve the problem I am facing when forwarding
message from one queue to another , please see the spring xml.
thanks in advance
prajath
<camelContext id="camel-1" xmlns="http://camel.apache.org/schema/spring">
		<route>
			<camel:from
				uri="rabbitmq://localhost:5672/outBox?sername=guest&amp;password=guest"
/>
			<camel:to uri="stream:out" />
		</route>
		<route>
			<camel:from
				uri="rabbitmq://localhost:5672/inbox?username=guest&amp;password=guest"
/>
			<camel:to	
                                    
uri="rabbitmq://localhost:5672/outBox?username=guest&amp;password=guest" />
		</route>
		<route>
			<camel:from uri="timer:foo?period=10"/>
			
			<setBody>
				<simple>${body}Message at ${date:now:yyyy-MM-dd HH:mm:ss}</simple>
			</setBody>

			<to 
uri="rabbitmq://localhost:5672/inbox?username=guest&amp;password=guest" />
		</route>


	</camelContext>



--
View this message in context: http://camel.465427.n5.nabble.com/rabbitMQ-message-forwarding-from-one-queue-to-another-tp5771632.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message