2009/4/22 Hadrian Zbarcea <hzbar...@gmail.com>:
> Hi Peter,
>
> Imho not easily, because there is no way today to identify/address a node in
> the AST.

You can use idOrCreate() method on a node; which lazily creates a
unique ID for a node if you've not manually given it one - this can be
used with any AST node or Route

http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/model/OptionalIdentifiedType.java?revision=765910&view=markup
-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Reply via email to