On Wed, Jan 25, 2012 at 1:29 PM, Christian Schneider
<ch...@die-schneider.net> 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
XML DSL.



> 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
> http://www.liquid-reality.de
>
> Open Source Architect
> Talend Application Integration Division http://www.talend.com
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to