You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by akotako <ak...@gmail.com> on 2014/05/06 18:54:38 UTC

from db to webservice

hi,
i want to make a route from db to call a webservice.But after the db i let
the datas go to a queue(activemq)after that i want to call a web
service...here is my route :


<from uri="timer://foo?fixedRate=true&amp;period=10000" />
			<setBody>
				<constant>select id from test</constant>
			</setBody>
			<to uri="jdbc:postgres" />
			<to uri="bean:pro" />
			<to uri="jdbc:mssql" />
			<split>
				<simple>${body}</simple>
				<to uri="activemq:queue:186q" />
				<to uri="bean:mp" />
				<to uri="jdbc:postgres" />
			</split>
		</route>
		<route>
			<from uri="activemq:queue:testq" />
			<to uri="bean:taking" />
<to uri="webserviceAdress"/>
</route>

what is my bean taking supposed to ?
thanks in advance...





--
View this message in context: http://camel.465427.n5.nabble.com/from-db-to-webservice-tp5750933.html
Sent from the Camel - Users mailing list archive at Nabble.com.