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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      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

          Activity

            People

            • Assignee:
              valdar Andrea Tarocchi
              Reporter:
              valdar Andrea Tarocchi

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Issue deployment