Hi In XML you cannot use & in the attributes, you must use an XML escaped value as & So it should be
<from uri="stream:in:file?fileName=/input/test.txt&scanStream=true&scanStreamDelay=1000"/> On Tue, Apr 24, 2012 at 11:36 AM, Gnanaguru S <gnanaguru.sattanat...@wipro.com> wrote: > > Hi, > > I replaced & with ?. Working between different dsl's of camel. Got into > confusion. > > This is the modified working code. > > <from > uri="stream:in:file?fileName=/input/test.txt?scanStream=true?scanStreamDelay=1000"/> > > Regards > Guru > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Stream-URI-error-tp5661443p5661468.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/