camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shanks <tanikella.shan...@gmail.com>
Subject Assign Integer Value to group attribute of Tokenizer
Date Thu, 25 May 2017 16:56:07 GMT
Hi all,

This is my first post here finding a solution for the recent problem I came
across. I have a problem assigning a property(key) value to the "group"
value in tokenize element. We have properties place holder and we need read
the value to be read from configuration file as this limit might change. We
have tried the any kind attribute using Property Placeholder as mentioned 
here
<http://camel.apache.org/using-propertyplaceholder.html#UsingPropertyPlaceholder-UsingpropertyplaceholdersforanykindofattributeintheXMLDSL>
 
but it fails with unrecognised attribute error. 

The version of Camel being used is 2.15.1.redhat-621084 with Spring DSL and
the code is like below. Any help on this or a quick workaround is very much
appreciated. Please let me know in case if more details are required.

<split>
  <tokenize token="\n" group="7000"/>
    ..
We just want the above "group" value to be configurable.

Thanks in advance,
Shanks




--
View this message in context: http://camel.465427.n5.nabble.com/Assign-Integer-Value-to-group-attribute-of-Tokenizer-tp5800715.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message