camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Luo (JIRA)" <>
Subject [jira] Updated: (CAMEL-1534) camel-ibatis - option to filter out empty select results
Date Wed, 22 Apr 2009 14:56:33 GMT


Joe Luo updated CAMEL-1534:

    Attachment: Camel-1534.patch

Hi, Claus

Here is the patch for this issue. I added an option "routeEmptyResultSet" onto polling consumer
so it will not send an empty resultset to the next hop by default. 

However, if an iterator is used ("useIterator=true"), the "routeEmptyResultSet" won't have
any effect as the empty list will not contain any individual object at all.

> camel-ibatis - option to filter out empty select results
> --------------------------------------------------------
>                 Key: CAMEL-1534
>                 URL:
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ibatis
>    Affects Versions: 1.6.0
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.1.0
>         Attachments: Camel-1534.patch
> The camel-ibatis component routes any result from the database so if a SELECT query returns
0 rows Camel will route an exchange.
> We should add an option to iBatis to allow end users to filter out empty results so Camel
only route an Exchange if there are > 0 rows.
> See nabble:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message