I am using camels jdbc component to load big tables into another system. Because i need to start other routes after loading table is finished i need to detect when all table entries are passed.
Because the size of the table i am using this setup () .to("jdbc:testdb?outputType=StreamList") .split.body().streaming() ... The output of streaming() is an iterator and i tried hasNext() on it. The problem with this approach is that the data is split into multiple threads. in my tests there are running 2 threads and therefor there are 2 iterators. So i need to detect when hasNext for the last thread/iterator is false. Is there a secure way to determine the number of thread/iterators? Is this always 2? -- View this message in context: http://camel.465427.n5.nabble.com/camel-jdbc-component-detect-end-of-streamlist-tp5766218.html Sent from the Camel - Users mailing list archive at Nabble.com.