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

Property placeholders on component setters fail to replace values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • Unknown

    Description

      Related to CAMEL-10937, now if we have the same example asĀ CAMEL-10937:

                      KafkaComponent kafka = new KafkaComponent();
                      kafka.setBrokers("{{kafka.host}}:{{kafka.port}}");
      

      Having the properties component injected, looks camel is not resolving the placeholder for these properties. However, since the property binding has been heavily reworked in 3.0.0, I wasn't sure if that is an expected behavior or a bug, perhaps davsclaus you can shed some light here?
      In case it needs to be fixed, I'd like to help out to fix it .

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              omarsmak Omar Al-Safi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: