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

Wrong message in some cases in org.apache.camel.PropertyBindingException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • None
    • None
    • Unknown

    Description

      In some cases `org.apache.camel.PropertyBindingException` logs a wrong message see:

      org.apache.camel.PropertyBindingException: Error binding property (camel.component.sjms2..connectionfactory.brokerurl=tcp://localhost:61616) with name: connectionfactory.brokerurl on bean: org.apache.camel.component.sjms2.Sjms2Component@601eed8b with value: tcp://localhost:61616
      	at org.apache.camel.main.BaseMainSupport.setPropertiesOnTarget(BaseMainSupport.java:175) ~[camel-main-3.0.1.jar:3.0.1]
      	at org.apache.camel.main.BaseMainSupport.autoConfigurationFromProperties(BaseMainSupport.java:929) ~[camel-main-3.0.1.jar:3.0.1]
      	at org.apache.camel.main.BaseMainSupport.postProcessCamelContext(BaseMainSupport.java:545) ~[camel-main-3.0.1.jar:3.0.1]
      	at org.apache.camel.main.BaseMainSupport.initCamelContext(BaseMainSupport.java:422) ~[camel-main-3.0.1.jar:3.0.1]
      	at org.apache.camel.main.Main.doInit(Main.java:108) ~[camel-main-3.0.1.jar:3.0.1]
      	at org.apache.camel.support.service.ServiceSupport.init(ServiceSupport.java:80) ~[camel-api-3.0.1.jar:3.0.1]
      	at org.apache.camel.support.service.ServiceSupport.start(ServiceSupport.java:108) ~[camel-api-3.0.1.jar:3.0.1]
      	at org.apache.camel.main.MainSupport.run(MainSupport.java:77) ~[camel-main-3.0.1.jar:3.0.1]
      

      specifically the double dots .. in camel.component.sjms2..connectionfactory.brokerurl that can be very confusing.

      Attachments

        Issue Links

          Activity

            People

              valdar Andrea Tarocchi
              valdar Andrea Tarocchi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m