You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Paul Richardson (JIRA)" <ji...@apache.org> on 2019/01/14 14:45:00 UTC

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

Paul Richardson created CAMEL-13054:
---------------------------------------

             Summary: 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


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)