Reputation: 13038
Since blueprint seems to be a pain in the ass (as a dependency injection framework) we want use Spring DI (Java based) for future service implementaions (Camel based). At the moment we deploy all services on a fuse 6.3 in fabric mode.
Red_Hat_JBoss_Fuse-6.3-Developing_and_Deploying_Applications-en-US.pdf states:
A typical Red Hat JBoss Fuse application is based on a specific development model, which is based around the Java language, Spring or blueprint dependency injection frameworks...
Is there a good maven archetype to start with? I found those fabric8 archetypes but they seem to target fabric8 v2 - a complete different world, isn't it?
Upvotes: 0
Views: 279
Reputation: 13038
In meantime i found
https://github.com/FuseByExample/
this examples helped much. the most tricky part is the configuration of bundle plugin and fabric8.
Upvotes: 1
Reputation: 764
You can use camel-archetype-spring archetype with org.apache.camel.archetypes group.
example:
mvn archetype:generate -DgroupId=com.test -DartifactId=camel-spring-app -DarchetypeGroupId=org.apache.camel.archetypes -DarchetypeArtifactId=camel-archetype-spring -DinteractiveMode=false
Upvotes: 1