Hi

Yeah file language is not supported in stream. It only accepts plain strings.

If using Java DSL you can concat the string yourself, use
String.format, or use .fromF / .toF

In Spring DSL you can define an <endpoin id="xxx" uri="..."/> and use
spring property placeholders

And use <from ref="xxx"/> to refer to it


On Mon, Jul 13, 2009 at 12:43 PM, Charles Moulliard<[email protected]> wrote:
> Hi,
>
> It seems that we can't use the following stream uri :
>
> stream:file://${karaf.base}?fileName=/data/log/quickfix.log&scanStream=true
>
> Caused by: java.lang.IllegalArgumentException: Invalid uri, valid form:
> 'stream:{in,file,url}'
>    at
> org.apache.camel.component.stream.StreamConsumer.validateUri(StreamConsumer.java:225)
>
> Regards,
>
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to