On Tue, Jul 7, 2009 at 12:58 PM, siva naresh<[email protected]> wrote:
>
> Hi all,
>
>      I am trying to set ids on every endpoint in the following way.
>  But this seems to set ids on the entire route and not on the endpoint.
>
> from("file://C:/Debug/from").id("File_0").to("file://C:/test").id("File_1");
>
> How do I set ids on every point in Java dsl?
>
> The same is achieved in spring dsl in the following way.
>
> <route id="null_1">
>    <description/>
>    <from id="File_0" uri="file:///C:/Documents and
> Settings/svutla/workspace/runtime-New_configuration/eippjt/input?noop=true">
>    </from>
>    <to id="File_1" uri="file:///C:/Documents and
> Settings/svutla/workspace/runtime-New_configuration/eippjt/output">
>    </to>
> </route>
>
> What is the equivalent of this in Java DSL ?
What version of Camel are you using?

It should be the .id so you are doing it correctly, but there could be
a glitch. Its seldom used in Java DSL.


>
> Thanks in advance..
>
>
> --
> View this message in context: 
> http://www.nabble.com/id%28%29-in-Java-dsl-tp24371134p24371134.html
> Sent from the Camel - Users mailing list archive at Nabble.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