2 Replies Latest reply on Nov 23, 2010 12:06 PM by futuredan

    How do I reference a property I defined in a camel context

    futuredan

      Given a camel context like the following:

       

      bq.

       

       

      bq.

       

      How do I reference the property I have defined?

       

      I tried the following, but that only looks like properties in the exchange (as expected per the documentation).

       

      <route>

      <from uri="file:C:/FilePoller/PropTest"/>

      <setHeader headerName="CamelFileName">

      <constant>$.$</constant>

      </setHeader>

      <inOnly uri="file:C:/FileSender"/>

      bq.     </route>

       

      I have also tried '$', (throws exception) '#', (uses literal value) and '$', (throws exception) but none of those work either.

       

      Edited by: futuredan on Nov 22, 2010 4:40 PM

      Fixed formatting