camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jhaarni <janne.haa...@gmail.com>
Subject Periodic polling from web service (cxfEndpoint)
Date Mon, 06 Feb 2012 14:15:27 GMT
Hi,

we need to implement the following use case with camel:

1) send "init" request to a webservice (cxfEndpoint, external service), ws
returns a transaction id
2) poll ws with a "getStatus(txId)" request every 5 seconds until the ws
returns status=done and the actual response xml (or we time out in, say, 180
secs)

What would be the simplest way of doing this? 

Thanks, 

Jay
 



--
View this message in context: http://camel.465427.n5.nabble.com/Periodic-polling-from-web-service-cxfEndpoint-tp5460162p5460162.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message