[ https://issues.apache.org/jira/browse/CAMEL-13861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16905069#comment-16905069 ]
Paul Richardson commented on CAMEL-13861: ----------------------------------------- PR on the way. > Camel Olingo: incorrect result in consumer > ------------------------------------------- > > Key: CAMEL-13861 > URL: https://issues.apache.org/jira/browse/CAMEL-13861 > Project: Camel > Issue Type: Bug > Components: camel-olingo2, camel-olingo4 > Affects Versions: 3.0.0.M4 > Reporter: Paul Richardson > Priority: Major > Fix For: 3.0.0 > > > The > [Olingo4Consumer|https://github.com/apache/camel/blob/master/components/camel-olingo4/camel-olingo4-component/src/main/java/org/apache/camel/component/olingo4/Olingo4Consumer.java#L102] > when filtered using the already-seen property, is checked for empty > EntitySets and returns 0. This return value ensures that unless > consumer.sendEmptyMessageWhenIdle = true, no empty messages are generated. > However, this behaviour is not consistent when a key predicate is used. In > this case, an entity is returned which is then filtered to null. This is not > handled and an empty message is transmitted with a null body. -- This message was sent by Atlassian JIRA (v7.6.14#76016)