On 1/20/11 8:22 PM, Claus Ibsen wrote:
Hi

See
https://issues.apache.org/jira/browse/CAMEL-3564

And the nabble link for the user story.

Basically in XML DSL you may want to use an expression which refer to
a bean in the registry.
This was in fact not easy to do out of the box.

What we need basically is a expression in the DSL for that.

However that means we add more stuff to the DSL. So should we do that?
Its really not much its something like<constant>  but its just<ref ref="xxx"/>

What name should we use? And is the<ref ref="xxx"/>  syntax okay?
How about <ref name="xxx"> or <ref id="xxx"> ?

In the mean time I have added a ref function to the simple expression
so you can use that for now.
eg:<simple>ref:xxx</simple>


+1 for add this to the simple language. It makes the life more easier :)

--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang

Reply via email to