camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javadevel <javadeve...@yahoo.com>
Subject IBatis component inconsistency
Date Tue, 14 Apr 2009 16:43:45 GMT

Here is my route

from(“ibatis:selectunprocessedtrades”)
.process(processtrades)
.to(“ibatis:updateTrade”);

What I would expect is that the camel route will be executed when the
selectunprocessedtrades fetches rows of unprocessed trades, however, the
route gets executed regardless of the result. This behavior, in my
observation, is inconsistent with the rest of camel components. For example
if we are polling a file 
from(“file:c:/work/”).to(“jms:processqueue)
the route will only be executed when there is a file in the c:/work
directory. 

Please advise.

-- 
View this message in context: http://www.nabble.com/IBatis-component-inconsistency-tp23043215p23043215.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message