OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Camel Splitter Group attribute injection not working


Hello,

can you inject a value from the config params file in to the splitter group attribute? if so, what is the proper way of doing it? thanks!

Is this possible? What am I doing wrong? Thank you!

<split streaming="true" >
<tokenize token="\n" group="{{noOfLines}}" /> <log message="Split Group Body: ${body}"/>
    <to uri="bean:extractHeader" />
    <to id="acceptedFileType" ref="pConsumer" /> </split>

<split streaming="true" >
<tokenize token="\n" group={{noOfLines}} /> <log message="Split Group Body: ${body}"/>
    <to uri="bean:extractHeader" />
    <to id="acceptedFileType" ref="pConsumer" /> </split>

Gary Lee Mills
Work:  331-777-2318