camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: [DISCUSS] - Camel Maven Archetype for Standalone Java
Date Wed, 25 Jan 2012 13:15:37 GMT
On Wed, Jan 25, 2012 at 1:29 PM, Christian Schneider
<> wrote:
> Am 25.01.2012 12:08, schrieb Claus Ibsen:
>> Hi
>> Currently we have a maven archetype named: camel-archetype-java
>> Its however a Spring XML project with a Java RouteBuilder (eg Java DSL).
>> I would like to propose that we:
>> a)
>> Rename camel-archetype-java to camel-archetype-spring-java
>> b)
>> Create a new camel-archetype-standalone which is a pure Java
>> standalone with a Java RouteBuilder
>> and a Java Main app to start the Camel app from standalone.
> I would rather name it camel-archetype-standalone-java or
> camel-archetype-java-standalone.

Yeah or may as Bilgin suggest, we could just keep camel-archetype-java
as the pure Java archetype.
Its kinda indicated by its name.

btw the difference between camel-archetype-spring-java and
camel-archetype-spring, would be that the both use Spring XML, but the
former has a Camel route in Java DSL, and the latter a Camel route in

> For a real standalone project we should also add an assembly config so the
> result is a project that can be really deployed standlone.
> Many people struggle with deploying standalone projects as the assembly
> concept is not so easy to grasp and implement.

You mean that the assembly builds a JAR you can run from the command line?
eg it has class-path configured in its MANIFEST.MF file?

So you can do java -jar foo.jar

Yeah if that is possible, then that would be nice.

> Christian
>> This may help out of the box experience with Camel as we got an
>> archetype for a standalone Camel app.
>> Also since Camel is not runtime tied to Spring anymore, we should
>> rename that archetype to spring-java, to indicate
>> its a Spring project with Camel Java DSL.
>> Any thoughts?
> --
> Christian Schneider
> Open Source Architect
> Talend Application Integration Division

Claus Ibsen
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message