|
Page Created :
CAMEL :
How do I run Camel using Java WebStart
How do I run Camel using Java WebStart has been created by Claus Ibsen (Jul 30, 2008). Content:How do I run Camel using Java WebStart?Camel 1.5 has support for starting using Java WebStart.
What you need to have in mind is that Camel will scan for resources in .jar files on-the-fly and therefore the .jars is loaded using http. Therefore the http URLs in the .jnlp file must be complete in the href tag. Maven configurationIf you use Maven to generate your .jnlp file then check out these links: You need to configure your maven to not output the jar version attribute (outputJarVersion=false) as started in this snippet <plugin> <groupId>org.codehaus.mojo.webstart</groupId> <artifactId>webstart-maven-plugin</artifactId> ..... <configuration> ..... <jnlpFiles> <jnlpFile> <templateFilename>jnlpTemplate.vm</templateFilename> <outputFilename>appl.jnlp</outputFilename> <jarResources> <jarResource> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> <version>${camel-version}</version> <!-- set the outputJarVersion to false appends the version to the jar filename in the href --> <outputJarVersion>false</outputJarVersion> </jarResource> <jarResource> <groupId>org.apache.activemq</groupId> <artifactId>activemq-core</artifactId> <version>${activemq-version}</version> <outputJarVersion>false</outputJarVersion> </jarResource> ..... </jarResources> <jnlpFile> <jnlpFiles> ..... <configuration> <plugin>
|
Unsubscribe or edit your notifications preferences
