Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
Hello, how can I use @PropertyInject in Camel to inject an array please?
https://camel.apache.org/manual/bean-integration.html
For example, I have hostnames = Value4,Value5,Value6 in cfg file.
And I want to import these values as an array.
Though for camel annotation we may add some option you can turn on to tell camel to convert/split the value, eg delimiter="," to say use comma for string split, that then becomes an array/list that can be injected.