[ 
https://issues.apache.org/jira/browse/CAMEL-13861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-13861.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0.RC1

Thanks for the PR

> 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, 3.0.0.RC1
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to