You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/08/12 12:21:00 UTC

[jira] [Work logged] (CAMEL-13861) Camel Olingo: incorrect result in consumer

     [ https://issues.apache.org/jira/browse/CAMEL-13861?focusedWorklogId=293107&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-293107 ]

ASF GitHub Bot logged work on CAMEL-13861:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Aug/19 12:20
            Start Date: 12/Aug/19 12:20
    Worklog Time Spent: 10m 
      Work Description: phantomjinx commented on pull request #3096: CAMEL-13861: Fixes missing logic producing empty messages
URL: https://github.com/apache/camel/pull/3096
 
 
   * Olingo[*]Consumer
    * Tests for null results as well as empty collections. Return 0 accordingly
   
   * Adds and updates tests to assume no empty messages unless the
     consumer.sendEmptyMessageWhenIdle property has been configured
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 293107)
            Time Spent: 10m
    Remaining Estimate: 0h

> 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
>
>          Time Spent: 10m
>  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)