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

EtcdKeysEndpoint cannot be cast to AbstractEtcdPollingEndpoint

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.x
    • 3.1.0
    • camel-etcd
    • None
    • Unknown

    Description

      Caused by: org.apache.camel.PropertyBindingException: Error binding property (uris=http://192.168.178.30:23379,http://192.168.178.30:40001) with name: uris on bean: etcd://keys?uris=http%3A%2F%2F192.168.178.30%3A23379%2Chttp%3A%2F%2F192.168.178.30%3A40001 with value: http://192.168.178.30:23379,http://192.168.178.30:40001
       at org.apache.camel.support.PropertyBindingSupport.doBindProperties(PropertyBindingSupport.java:502)
       at org.apache.camel.support.PropertyBindingSupport.access$000(PropertyBindingSupport.java:62)
       at org.apache.camel.support.PropertyBindingSupport$Builder.bind(PropertyBindingSupport.java:250)
       at org.apache.camel.support.DefaultComponent.setProperties(DefaultComponent.java:513)
       at org.apache.camel.support.DefaultComponent.setProperties(DefaultComponent.java:482)
       at org.apache.camel.component.etcd.EtcdComponent.createEndpoint(EtcdComponent.java:153)
       at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:245)
       at org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:756)
       ... 168 more
      Caused by: java.lang.ClassCastException: org.apache.camel.component.etcd.EtcdKeysEndpoint cannot be cast to org.apache.camel.component.etcd.AbstractEtcdPollingEndpoint
       at org.apache.camel.component.etcd.AbstractEtcdPollingEndpointConfigurer.doConfigure(AbstractEtcdPollingEndpointConfigurer.java:28)
       at org.apache.camel.component.etcd.AbstractEtcdPollingEndpointConfigurer.configure(AbstractEtcdPollingEndpointConfigurer.java:19)
       at org.apache.camel.support.PropertyBindingSupport.doBindProperties(PropertyBindingSupport.java:497)
       ... 175 more
      
      

       

      Shows with this test: https://github.com/wildfly-extras/wildfly-camel/blob/master/itests/standalone/docker/src/test/java/org/wildfly/camel/test/etcd/EtcdIntegrationTest.java

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            tdiesler Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: