Camel Maven Plugin
The Camel Maven Plugin allows you to run your Enterprise Integration Patterns inside Maven along with being able to support Visualisation maven reports.
The following plugins are supported
Plugin | Maven Info | Description |
---|---|---|
|
|
Running your routing rules via camel:run
camel:run is used to run Camel Spring configurations inside Maven for easy testing. A good example application to get you started is the Spring Example.
...
How this works is that the plugin will compile the source code in the maven project, then boot up a Spring ApplicationContext using the XMl XML confiuration files on the classpath at
...
This allows you to boot up any Spring services you wish; whether they are Camel related or any other Spring POJOs.
Running your rules via camel:embedded
camel:embedded works the same as the camel:run above, but it does not fork another JVM, but instead boots up a new ClassLoader and loads the routing rules inside that. So it should startup a bit quicker. Though sometimes we all get the odd classpath issue; so sometimes forking a new JVM can work around any strange Maven classpath issues.
Visualiation Maven Reports
Camel supports Visualisation to be able to turn your Enterprise Integration Patterns into a nice graphical represenation.
...