camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-9745) Splitter - Should skip null messages if iterator returns null
Date Tue, 22 Mar 2016 16:12:25 GMT
Claus Ibsen created CAMEL-9745:
----------------------------------

             Summary: Splitter - Should skip null messages if iterator returns null
                 Key: CAMEL-9745
                 URL: https://issues.apache.org/jira/browse/CAMEL-9745
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.16.2
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.18.0, 2.17.1


When splitting and using an iterator the usually hasNext -> next is paired so if hasNext
returns true, then next returns data. But there can be situations where this is tricky to
determine up front, and therefore a hasNext may return true, and then next() return null if
there was no data really. Then the splitter should just skip that null and continue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message