camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henryk Konsek <hekon...@gmail.com>
Subject Re: How would you implement this simple, but tricky little route?
Date Sat, 16 Feb 2013 19:52:35 GMT
Hi,

> For each message that arrives on a queue, I want to kick-off a polling timer
> to periodically check a specific database row *for that message*

This is false assumption, as I don't need (and shouldn't) create new
thread for each message. Keep in mind that you poll the same DB
resource in each created thread, so instead create single timer route
dedicated for checking the DB state.

-- 
Henryk Konsek
http://henryk-konsek.blogspot.com

Mime
View raw message