RE: ProducerTemplate doesn't work as expected

2025-01-29 Thread Jan Bares, WOOD & Co.
mock endpoint * ?? Kind regards, Jan > -Original Message- > From: Claus Ibsen > Sent: Wednesday, January 29, 2025 10:09 AM > To: users@camel.apache.org > Subject: Re: ProducerTemplate doesn't work as expected > > Hi > > Its from the eye of the beholder. Ca

Re: ProducerTemplate doesn't work as expected

2025-01-29 Thread Claus Ibsen
s, Jan > > > -Original Message- > > From: Claus Ibsen > > Sent: Wednesday, January 29, 2025 10:09 AM > > To: users@camel.apache.org > > Subject: Re: ProducerTemplate doesn't work as expected > > > > Hi > > > > Its from the eye of th

Re: ProducerTemplate doesn't work as expected

2025-01-29 Thread Claus Ibsen
Hi Its from the eye of the beholder. Camel produces a message, ie sending a message from Camel to X. In this case Camel creates a file. If you want to read a file, then let Camel consume from the file. If you want to learn Camel more then read the Camel in Action book, the first chapter is free.

ProducerTemplate doesn't work as expected

2025-01-29 Thread Jan Bares, WOOD & Co.
Hi, In my test class, I am trying to send a message to a route under test using the ProducerTemplate sendXXX() method. I assumed this would simulate an incoming message for the endpoint, but it seems that this is not the case. For example, with the File endpoint, the file is physically created