Hi,
 I'm trying to use the properties substitution in my tokenizer with no
success.
I've also just seen that the camel-spring.xsd definition does not declare:

 <xs:anyAttribute namespace="##other" processContents="skip"/>

In many complex types, so spring is not able to use the defined 'prop'
namespace as prefix for the tokenizer and csv parser.

This is my route and I'd like the substitute the 'csv.row.delimiter',
'csv.row.group' (in the tokenizer) and csv.row.delimiter (in the csv)

<route>
  <!-- ACTUALLY READ THE CSV stream -->
  <from uri="seda:splitting" />
   <split parallelProcessing="false" stopOnException="false"
streaming="true">
  <tokenize prop:token="csv.row.delimiter" prop:group="csv.row.group" />
    <unmarshal>
<csv autogenColumns="true" prop:delimiter="csv.row.delimiter"
             skipFirstLine="false" useMaps="true" configRef="csvConfig"
             lazyLoad="false" />
  </unmarshal>

  <to uri="seda:processing" />
  </split>
</route>

Is there a concrete need for this situation? If ther's not, you'll consider
to merge a contribution patch on this?

Cheers,
Carlo

-- 
Dott. Carlo Cancellieri
*skype*: ccancellieri
*Twitter*: @cancellieric
*LinkedIn*: http://it.linkedin.com/in/ccancellieri/

Reply via email to