activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thiago <tcostaso...@gmail.com>
Subject Re: Help with xslt configuration
Date Mon, 14 Jun 2010 13:23:49 GMT

Hi,

       Found this:
http://camel.apache.org/how-do-i-use-spring-property-placeholder-with-camel-xml.html
and solved my problem :)

Regards


thiago wrote:
> 
> Hi,
> 
>    It's Windows.
>    Well, outside the camelContext tag I can definitely use
> ${activemq.home}, but inside it, the variable isn't being replaced...
> 
> Cheers..
> 
> 
> cobrien wrote:
>> 
>> It would be interesting to know what platform you are on. To have a 
>> cross-platform solution  you may want to try  using
>> PropertyPlaceholderConfigurer to set a property for your activemq home. 
>> 
>> something like
>> 
>>   <bean id="propertyConfigurer"
>> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
>>     <property name="activemq_home" value="file:/${activemq.home}"/>
>>   </bean>
>>   
>> Clark
>> http://www.ttmsolutions.com
>> 
>> 
>> 
>> thiago wrote:
>>> 
>>> Hi,
>>> 
>>>        I'm trying to use xslt component: <to uri="xslt:file:<path>"
/>
>>> 
>>>        My problem is that I'm not being able to make <path> relative to
>>> ActiveMQ's directory (it's always being treated as absolute). How can I
>>> make it relative? (I already tried <to
>>> uri="xslt:file:${activemq.home}<path>" /> with no success)
>>> 
>>>        I'm using ActiveMQ 5.3.2.
>>> 
>>> Regards,
>>> Thiago Souza
>>> 
>>>      
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Help-with-xslt-configuration-tp28860569p28879536.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message