Use the @MockEndpoints annotation in Apache Camel with Spring Boot

preview_player
Показать описание
Here's how to use the @MockEndpoints annotation to mock endpoints in a Camel application with Spring Boot, without having to make a change to your route code. Then I also show how to write a simple test.

Thanks for watching
Рекомендации по теме
Комментарии
Автор

Very nice explanation... not like those hindi tutors who just copies all of the code from repos and doesnt even know what hes doing... many thanks

DoggyTVSVK
Автор

what would the output of the to(output:file) look like for mac?

abdull
Автор

But then how does your route class get tested? Could you show example where your source is bean called using timer followed by some transformation and destination is jms queue which is mocked?

jigarsnaik
join shbcf.ru