Re: How to properly handle Camel files endpoint in jUnit test

2020-06-24 Thread Alex Dettinger
Hi Jessy, In such a case, I would rather do something inspired from one of the camel file test: https://github.com/apache/camel/tree/master/core/camel-core/src/test/java/org/apache/camel/component/file hth, Alex On Wed, Jun 24, 2020 at 3:00 PM Jessy Chenavas wrote: > Hello, > > I found on yo

How to properly handle Camel files endpoint in jUnit test

2020-06-24 Thread Jessy Chenavas
Hello, I found on your website this mailing list to ask some questions about Camel. I have some trouble making my test work, I have an endpoint that waits for files, and I want to test it. To achieve this I've created a mock of my endpoint, an exchange with the file and I'm sending it. The problem