[ 
https://issues.apache.org/jira/browse/CAMEL-13464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16829290#comment-16829290
 ] 

Dmitry Volodin commented on CAMEL-13464:
----------------------------------------

[~r.sch...@topdesk.com], have you configured the code like this example 
[https://github.com/apache/camel/blob/5fd45068a93973a6fa22ff117bdb04a77a785eb0/components/camel-olingo4/camel-olingo4-component/src/test/java/org/apache/camel/component/olingo4/Olingo4ComponentTest.java#L280]

If not, please provide a simple reproducer if possible.

> Problem with Olingo4 and authenticated metadata
> -----------------------------------------------
>
>                 Key: CAMEL-13464
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13464
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-olingo4
>    Affects Versions: 2.23.2
>            Reporter: Remco Schoen
>            Priority: Minor
>
> I'm currently working with the Olingo4 component for linking with Microsoft 
> Dynamics 365 CRM. This OData feed requires authentication to get the 
> metadata. As I have to refresh the Access Token for authenticating I can not 
> add it to the configuration, but I'm using the 
> CamelOlingo4.endpointHttpHeaders header for this. But when the component is 
> retrieving the metadata it is ignoring the header and it is not able to 
> authenticate.
> If I add the headers to the get metadata request it works.



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

Reply via email to