I have a Spring Boot application that contains a Camel route with a JPA consumer.
When running a test that uses the @FlyTest annotation the database is reset as expected prior to the test but while this is happening the Camel JPA consumer tries to execute an SQL select against the database.
How do I disable the route while FlywayTest is resetting the database?
Any suggestions are appreciated.
Aucun commentaire:
Enregistrer un commentaire