Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.19.3
-
None
-
Patch Available
-
Unknown
Description
Try to convert values resolved from the registry to the requested type.
Currently if a component parameter is specified directly in the URI or using the properties component it is converted to the type required by the component if possible:
e.g.
"seda:s?concurrentConsumers=1" "seda:s?concurrentConsumers={{threadCount}}"
work OK, the String property is converted to Integer.
However if the parameter is a registry reference no conversion takes place:
e.g
"seda:s?concurrentConsumers=#threadCount"
fails if the values stored in the registry is a String, the value is not converted to Integer
Attachments
Issue Links
- is related to
-
CAMEL-19234 camel-core - When looking up a mandatory bean, look it up through its type first
- Resolved
- links to