Skip to main content
Version: 2023.1

Apache Camel - testing

To create integration tests for your Apache Camel routes, you need to create service tests by extending the AbstractGenesisTestSupport class and specifying the relevant application-name-camel.kts file as the scriptFileName.

Examples of how you would initialise a test extending this class are provided below.

class GenesisCamelTest : AbstractGenesisTestSupport<GenesisSet>(
GenesisTestConfig {
genesisHome = "/genesisHome"
parser = { it }
scriptFileName = "test-camel.kts"