You can use the below format for getting the properties from property file,
<route id="ActionProcessor:direct:email">
<from uri="direct:email"/>
<setHeader headerName="subject">
<simple>${some.processor.consumer.camel.email.subject}</simple>
</setHeader>
<setHeader headerName="contentType">
<constant>text/plain;charset=UTF-8</constant>
</setHeader>
<setBody>
<simple>${some.processor.consumer.camel.email.body}</simple>
</setBody>
<to ref="uri"/>
</route>
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-get-subject-and-body-for-mail-from-a-properties-file-tp5767080p5767133.html
Sent from the Camel - Users mailing list archive at Nabble.com.