Camel use old header after use pollEnrich
Solution 1:
Tested this out with Java-DSL and it looks like calling pollEnrich either clears the headers or replaces the message with new one. Use exchange properties instead with setProperty and refer to it with ${exchangeProperty.FileNamePDF}
instead.