camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From contactreji <>
Subject File Consumer Endpoint - File Name Header
Date Fri, 15 Aug 2014 09:16:13 GMT
Hi Folks

Am reading a file using File Consumer Endpoint as follows. Can someone help
me with the *name of the Header to which the name of the file picked in

I want the *consumed fileName* to be copied to a header called MessageID.
Following doesn't work. It stores null

		<from uri="file:{{recoveryFolder}}"/>
		 <setHeader headerName="MessageID">
		<to uri="{{inboudQueueName}}" />

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message