camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From siva naresh <vssnar...@gmail.com>
Subject id() in Java dsl
Date Tue, 07 Jul 2009 10:58:59 GMT

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 ?

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.


Mime
View raw message