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

Andrea Cosentino commented on CAMEL-20582:
------------------------------------------

You're not supposed to send event with that header set. That header is only for 
the consuming side, so if you're moving the message from eventhub to eventhub, 
you need to clean the header. As documented the enqueueTime header is consumer 
only, it's not common.

> No encoding is known for map entry value of type for header 
> CamelAzureEventHubsEnqueuedTime 
> --------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-20582
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20582
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-azure-eventhubs
>    Affects Versions: 4.4.0
>            Reporter: Vishal Bihani
>            Priority: Minor
>         Attachments: e1.png, e2.png, logs.txt
>
>
> Camel azure event hub connector internally sets a header 
> '{*}CamelAzureEventHubsEnqueuedTime{*}' which is of type 
> '{*}java.time.Instant{*}'. But the underlying library Apache Qpid Proton does 
> not support this type which results in error when producing messages to event 
> hub.
>  
> Current workaround is to remove this header from exchange before producing 
> the message to event hub.
> Refer attachments for screenshot and logs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to