You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "sidharthramesh (via GitHub)" <gi...@apache.org> on 2023/04/30 14:42:05 UTC

[GitHub] [camel-kafka-connector] sidharthramesh commented on issue #1526: Unable to use camel-netty-http connector: Error binding property pollingConsumerBlockTimeout=0

sidharthramesh commented on issue #1526:
URL: https://github.com/apache/camel-kafka-connector/issues/1526#issuecomment-1529041030

   Never mind. This was because I did not include the `camel-kafka-connector` in my dependencies. After including:
   
   ```
   <dependency>
         <groupId>org.apache.camel.kafkaconnector</groupId>
         <artifactId>camel-kafka-connector</artifactId>
         <version>${camel.kafkaconnector.version}</version>
         <exclusions>
           <exclusion>
               <groupId>org.slf4j</groupId>
                 <artifactId>slf4j-api</artifactId>
             </exclusion>
       </exclusions>
   </dependency>
   ```
   this error went away.
   
   Hopefully, this is useful for someone in the future when they search up any of these error:
   
   org.apache.camel.PropertyBindingException: Error binding property (pollingConsumerBlockTimeout=0) with name: pollingConsumerBlockTimeout on bean: seda://end?pollingConsumerBlockTimeout=0&pollingConsumerBlockWhenFull=true&pollingConsumerQueueSize=1000 with value: 0
   
   org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: seda://end?pollingConsumerBlockTimeout=0&pollingConsumerBlockWhenFull=true&pollingConsumerQueueSize=1000 due to: Error binding property (pollingConsumerBlockTimeout=0) with name: pollingConsumerBlockTimeout on bean: seda://end?pollingConsumerBlockTimeout=0&pollingConsumerBlockWhenFull=true&pollingConsumerQueueSize=1000 with value: 0
   
   java.lang.IllegalArgumentException: Could not find a suitable setter for property: pollingConsumerBlockTimeout as there isn't a setter method with same type: java.lang.String nor type conversion possible: No type converter available to convert from type: java.lang.String to the required type: long


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org