How to stop polling at unreachable (smb) file endpoint

2017-12-29 Thread Ivana Cace
We have a camel route that picks up files at an smb endpoint when the application starts, moves them, sends an email and then the application closes down. If there are no files to pick up, an email is send, and the application closes down. To enable this we set sendEmptyMessageWhenIdle=true on t

Re: v2.20.1 bug or a feature?

2017-12-29 Thread Artur Jablonski
Hi, Yes, you're right. The body is under the 'Out' message on the exchange when the template.request returns. I guess, what confused me is that template.requestBody() behaves in a different way. Thanks for your explanation. Best, Artur On Thu, Dec 28, 2017 at 8:06 AM, Siano, Stephan wrote: >