camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fliot33 <francois.l...@poplidays.com>
Subject Re: Dynamic URI too short documentation
Date Fri, 31 Oct 2014 15:16:37 GMT
I propose you put a complete example, 

  <bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="locations">
        <list>
            <value>classpath:camel.properties</value>
            
        </list>
    </property>
  </bean>

  <spring:camelContext>
     <routeContext>
       <route>
         <from uri="activemq:myQueue"/>
         <setHeader headerName="myVar"><xpath
resultType="java.lang.String">/root/myVar</xpath></setHeader>
        
<recipientList><simple>file:/somePath/${properties:myProperty}/${header.myVar}/someSubDir</simple></recipientList>
      </route>




--
View this message in context: http://camel.465427.n5.nabble.com/Dynamic-URI-too-short-documentation-tp5758377p5758378.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message