camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ikoblik <ikob...@hotmail.com>
Subject SPeL in tag attributes when using Spring context
Date Tue, 04 Jun 2013 13:11:48 GMT
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.



--
View this message in context: http://camel.465427.n5.nabble.com/SPeL-in-tag-attributes-when-using-Spring-context-tp5733794.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message