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/01/15 08:48:00 UTC

[jira] [Work logged] (CAMEL-13054) Olingo4Endpoint swallowing consumer. options

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

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

                Author: ASF GitHub Bot
            Created on: 15/Jan/19 08:47
            Start Date: 15/Jan/19 08:47
    Worklog Time Spent: 10m 
      Work Description: phantomjinx commented on pull request #2708: CAMEL-13054: Olingo4Endpoint - avoid swallowing consumer options
URL: https://github.com/apache/camel/pull/2708
 
 
   * Those options prefixed with 'consumer' are required to be processed by
     Olingo4Endpoint's parent class. However, they are getting added to the
     query options instead and never applied to the scheduling consumer.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: 185181)
            Time Spent: 10m
    Remaining Estimate: 0h

> Olingo4Endpoint swallowing consumer. options
> --------------------------------------------
>
>                 Key: CAMEL-13054
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13054
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-olingo4
>    Affects Versions: 2.21.0
>            Reporter: Paul Richardson
>            Priority: Major
>             Fix For: 2.22.3, 3.0.0, 2.23.2, 2.24.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The Olingo4Endpoint, while calling [configureProperties|https://github.com/apache/camel/blob/master/components/camel-olingo4/camel-olingo4-component/src/main/java/org/apache/camel/component/olingo4/Olingo4Endpoint.java#L109], first calls [parseQueryParams|https://github.com/apache/camel/blob/master/components/camel-olingo4/camel-olingo4-component/src/main/java/org/apache/camel/component/olingo4/Olingo4Endpoint.java#L191](). This results in consumer.* options being removed from the options map before they can be applied to the DefaultEndpoint.configureProperties(). Consequently, consumer.* options, eg. consumer.delay, can never be applied on the Olingo4Consumer.
> To correct this it should be a matter of adding the following [here|https://github.com/apache/camel/blob/master/components/camel-olingo4/camel-olingo4-component/src/main/java/org/apache/camel/component/olingo4/Olingo4Endpoint.java#L198]:
> {code:java}
>   if (paramName.startsWith("consumer.")) {
>     continue;
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)