[
https://issues.apache.org/jira/browse/CAMEL-19432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Netherton reassigned CAMEL-19432:
---------------------------------------
Assignee: James Netherton
> camel-azure-eventhubs: Providing a custom EventHubProducerAsyncClient has no
> effect
> -----------------------------------------------------------------------------------
>
> Key: CAMEL-19432
> URL: https://issues.apache.org/jira/browse/CAMEL-19432
> Project: Camel
> Issue Type: Bug
> Components: camel-azure-eventhubs
> Reporter: James Netherton
> Assignee: James Netherton
> Priority: Minor
> Fix For: 3.20.6, 3.21.0, 4.0-RC1, 4.0
>
>
> The azure-eventhubs component has a {{producerAsyncClient}} option where you
> can pass a custom {{EventHubProducerAsyncClient}} instance to the component
> configuration.
> Looking at the producer code, it seems that it gets ignored and a new
> {{EventHubProducerAsyncClient}} is created in {{doStart}}.
> https://github.com/apache/camel/blob/main/components/camel-azure/camel-azure-eventhubs/src/main/java/org/apache/camel/component/azure/eventhubs/EventHubsProducer.java#L41
> This was originally reported in the Camel Quarkus project:
> https://github.com/apache/camel-quarkus/issues/4975
--
This message was sent by Atlassian Jira
(v8.20.10#820010)