Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

SPeL in tag attributes when using Spring context

$
0
0
Hi All,

I'm trying to configure routes using spring context based on examples from
here:

http://camel.apache.org/spring.html

It seems that it is not possible to use SPeL in certain fields, for example
I try to specify uri as follows:

<camelContext xmlns="http://camel.apache.org/schema/spring">
<route id="inside">
<from uri="#{ 'direct:inside' + uniqueNumber }"/>
...
</route>
</camelContext>

SPeL in the uri field is never executed and is used as is. Would it be
possible to allow for it?

Ivan.

Viewing all articles
Browse latest Browse all 5648

Latest Images

Trending Articles



Latest Images