Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.21.0
-
Component/s: camel-consul
-
Labels:None
-
Estimated Complexity:Unknown
Description
After CAMEL-12065 fix the type of firstIndex parameter became java.math.BigInteger.
However org.apache.camel.impl.converter.OptimisedTypeConverter has no converter from java.lang.String to java.math.BigInteger.
As result firstIndex parameter fails to be set and enpoint creation fails with the following exception:
org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: consul://event?firstIndex=0&key=EVENT_ID1&url=http%3A%2F%2Fconsul-client%3A8500 due to: Could not find a suitable setter for property: firstIndex 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: java.math.BigInteger with value 0
Attachments
Issue Links
- relates to
-
CAMEL-12065 [Camel-consul] firstIndex cannot be set if it is out of Long range
-
- Resolved
-