I'm trying to pass a comma delimited list of values to my camel-context and have it split into a list of Strings. This is what I have so far, but how do I pass my comma delimited list to it. So that this bean will return a list of Strings. I know I can write code for this and be done with it, but want to see if its doable without writing any code for it.
<bean id="nodesList" class="java.lang.String" factory-method="split" >
<constructor-arg name="regex" value=","/>
</bean>