Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
langxml
<plugin>
  <groupId>org.apache.camel</groupId>
  <artifactId>guice-maven-plugin/artifactId>
  <!-- optional, default value: org.apache.camel.guice.Main -->
  <configuration>
    <mainClass>mypackage.boot.camel.CamelStartup</mainClass>
  </configuration>
</plugin>

Making use of an optional JNDI properties file

Available as of Camel 2.13.0

In case you want to make use of an optional JNDI properties file, for example in case when the GuiceyFruit JNDI Provider is in use, then this is how you can specify it:

Code Block
langxml

<plugin>
  <groupId>org.apache.camel</groupId>
  <artifactId>guice-maven-plugin/artifactId>
  <configuration>
    <jndiProperties>/my-guice-jndi.properties</jndiProperties>
  </configuration>
</plugin>

Classpath

The plugin will construct a classpath of any Maven dependency with scope "compile". The classpath is output as an INFO log statement upon startup.

...