git.net

[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





( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-camel-users/msg03313.html on line 89
Call Stack
#TimeMemoryFunctionLocation
10.0006363064{main}( ).../msg03313.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-camel-users/msg03313.html on line 89
Call Stack
#TimeMemoryFunctionLocation
10.0006363064{main}( ).../msg03313.html:0