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橪;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...
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橪;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...