I agree with Hadrian!
You can use the same logic with camel-quartz to start your process. In
the same way you implement today.
After that you can use one of many implementations to connect in your
data source. I really like camel-mybatis but you can use one of those:
camel-jdbc
camel-sql
camel-jpa
camel-ibatis

Make some code to validate your condition or implement that with any
language component, like "Simple".

Good luck!
Alan

On Thursday, June 2, 2011, Hadrian Zbarcea <hzbar...@gmail.com> wrote:
> Camel has a quartz component [1] that you can use in a very similar way (if I 
> understand correctly what you meant).
>
> You obviously need a trigger to start processing, camel-quartz can provide 
> that. Are there any other possible triggers for your data quality validation 
> task?
>
> I hope this helps,
> Hadrian
>
> [1] http://camel.apache.org/quartz.html
>
>
> On Jun 2, 2011, at 1:22 PM, fachhoch wrote:
>
>> some of my tables are not mapped as entities and this table I have to query
>> is not mapped I don't want to map it, I want   camel to call my predicate if
>> the predicate returns true   call some processor , and check the predicate
>> every   5 minutes ,
>>
>>
>> --
>> View this message in context: 
>> http://camel.465427.n5.nabble.com/custom-condition-check-frequently-tp4448674p4448728.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>

Reply via email to