Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19432

camel-azure-eventhubs: Providing a custom EventHubProducerAsyncClient has no effect

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              jamesnetherton James Netherton
              jamesnetherton James Netherton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: