Claus Ibsen created CAMEL-20688:
-----------------------------------
Summary: camel-core - Allow @PropertyInject to split a string into
array via delimiter option
Key: CAMEL-20688
URL: https://issues.apache.org/jira/browse/CAMEL-20688
Project: Camel
Issue Type: Improvement
Components: camel-core
Reporter: Claus Ibsen
Fix For: 4.x
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)