You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by dermoritz <ta...@hotmail.com> on 2014/12/01 17:01:58 UTC
jdbc component streamList, last row
I am using jdbc component with streamList as output type. Is there a way to
know when last row arrived? (probably there is a special exchange
property?!)
--
View this message in context: http://camel.465427.n5.nabble.com/jdbc-component-streamList-last-row-tp5759876.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: jdbc component streamList, last row
Posted by dermoritz <ta...@hotmail.com>.
Thanks Claus,
i found a solution for the moment: The stream list is an Iterator and i use
hasNext(). If this is false it is probably the last entry. BUT the problem
is that there are multiple threads with those lists. In my tests i always
got 2 times hasNext()=false.
--
View this message in context: http://camel.465427.n5.nabble.com/jdbc-component-streamList-last-row-tp5759876p5760017.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: jdbc component streamList, last row
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
I suggest to dive into the code to see if there is anything for that.
And if not, if that would be possible to add?
On Mon, Dec 1, 2014 at 5:01 PM, dermoritz <ta...@hotmail.com> wrote:
> I am using jdbc component with streamList as output type. Is there a way to
> know when last row arrived? (probably there is a special exchange
> property?!)
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/jdbc-component-streamList-last-row-tp5759876.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/