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

Camel 3.6 fails to resolve #bean:name notation for camel.component.pulsar.pulsar-client

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.7.0
    • Component/s: camel-pulsar
    • Labels:
      None
    • Environment:

      Spring boot 2.3.3
      Java 14

    • Estimated Complexity:
      Unknown

      Description

      Our system is configured with spring boot and there is a bean named pulsarClient in the context. In camel pre 3.6, this configuration works:

      camel:
        component:
        pulsar:
          enabled: true
          subscription-type: SHARED
          pulsar-client: '#bean:pulsarClient'

      In camel 3.6, it throws an exception:

      Property: camel.component.pulsar.pulsar-client
      Value: #bean:pulsarClient
      Origin: class path resource [application-default.yml]:112:22
      Reason: No converter found capable of converting from type [java.lang.String] to type [org.apache.pulsar.client.api.PulsarClient]

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              diemscott Scott Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: