Camel's tokenize does not support property subsitution

Solution Verified - Updated -

Issue

  • We 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 but it fails with unrecognized attribute error.

The version of Camel being used is 2.15.1.redhat-621084 with Spring DSL on JBoss Fuse 6.2.1 and the code is like below.

<split>
  <tokenize token="\n" group="7000"/>
    .. 

  • We just want the above group value to be configurable. Could you please assist.

Environment

  • Red Hat JBoss Fuse
    • 6.2.1
  • Apache Camel
    • camel-core, camel-blueprint, camel-spring

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In