camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlo cancellieri <c.cancelli...@proximainformatica.com>
Subject Re: Why tokenize (and some others) does not support properties substitution?
Date Fri, 23 May 2014 11:27:26 GMT
I'm using the master branch so I'm on 2.14-SNAPSHOT


2014-05-23 13:18 GMT+02:00 Claus Ibsen <claus.ibsen@gmail.com>:

> What version of Camel do you use? And have you tried with latest release.
>
> On Fri, May 23, 2014 at 1:17 PM, carlo cancellieri
> <c.cancellieri@proximainformatica.com> wrote:
> > 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/
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> Email: cibsen@redhat.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
> hawtio: http://hawt.io/
> fabric8: http://fabric8.io/
>



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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message