[CONF] Apache Camel Book Front Cover

2013-04-08 Thread confluence







Book Front Cover
Page edited by Babak Vahdat


 Changes (2)
 




...
h2. User Guide {html} 
h3 id=replacemeVersion 2.10.04/h3 
{html} 
Copyright 2007-20123, Apache Software Foundation 
{div} 


Full Content

Apache Camel
User Guide

Version 2.10.4

Copyright 2007-2013, Apache Software Foundation



Change Notification Preferences

View Online
|
View Changes
|
Add Comment









svn commit: r857704 - /websites/production/camel/content/book-front-cover.html

2013-04-08 Thread buildbot
Author: buildbot
Date: Mon Apr  8 07:23:56 2013
New Revision: 857704

Log:
Production update by buildbot for camel

Modified:
websites/production/camel/content/book-front-cover.html

Modified: websites/production/camel/content/book-front-cover.html
==
--- websites/production/camel/content/book-front-cover.html (original)
+++ websites/production/camel/content/book-front-cover.html Mon Apr  8 07:23:56 
2013
@@ -78,9 +78,9 @@
 div class=wiki-content maincontentdiv class=frontcover 
id=frontcoverh1a shape=rect 
name=BookFrontCover-ApacheCamel/aApache Camel/h1
 h2a shape=rect name=BookFrontCover-UserGuide/aUser Guide/h2
 
-h3 id=replacemeVersion 2.10.0/h3
+h3 id=replacemeVersion 2.10.4/h3
 
-pCopyright 2007-2012, Apache Software Foundation/p/div/div
+pCopyright 2007-2013, Apache Software Foundation/p/div/div
 /td
 td valign=top
   div class=navigation




[CONF] Apache Camel Team

2013-04-08 Thread confluence







Team
Page edited by Babak Vahdat


 Changes (1)
 




...
|| Name || ID || Organisation || | Aaron Mulder | ammulder | [Chariot Solutions|http://chariotsolutions.com] | 
| [Babak Vahdat|http://www.xing.com/profile/Babak_Vahdat] | bvahdat | [Cyberlogic Consulting GmbH|http://www.cyberlogic.ch] | 
| [Ben ODay|http://www.consulting-notes.com] | boday | [Savoir Technologies|http://savoirtech.com] | | [Bilgin Ibryam |http://www.ofbizian.com] | bibryam | [BBC|http://www.bbc.co.uk/] | 
...


Full Content

This page lists who we are. By all means add yourself to the list - lets sort it in alphabetical order

Committers




 Name 
 ID 
 Organisation 


 Aaron Mulder 
 ammulder 
 Chariot Solutions 


 Babak Vahdat 
 bvahdat 
 Cyberlogic Consulting GmbH 


 Ben O'Day 
 boday 
 Savoir Technologies 


 Bilgin Ibryam  
 bibryam 
 BBC 


 Bruce Snyder 
 bsnyder 
 SpringSource 


 Charles Moulliard 
 cmoulliard 
 Red Hat 


 Christian Mueller 
 cmueller 
 Atos Worldline 


 Christian Schneider 
 cschneider 
 Talend 


 Claus Ibsen 
 davsclaus 
 Red Hat 


 David Jencks 
 djencks 
 IBM 


 Daniel Kulp 
 dkulp 
 Talend 


 Freeman Fang 
 ffang 
 Red Hat 


 Gary Tully 
 gtully 
 Red Hat 


 Gert Vanthienen 
 gertv 
 Red Hat 


 Guillaume Nodet 
 gnodet 
 Red Hat 


 Hadrian Zbarcea 
 hadrian 
 Talend 


 Henryk Konsek 
 hekonsek 
 Pitney Bowes 


 Hiram Chirino 
 chirino 
 Red Hat 


 Ioannis Canellos 
 iocanel 
 Red Hat 


 Jacek Laskowski 
 jlaskowski 



 Jean-Baptiste Onofré 
 jbonofre 
 Talend 


 Jeff Genender 
 jgenender 
 Savoir Technologies 


 Johan Edstrom 
 joed 
 Savoir Technologies 


 Jonathan Anstey 
 janstey 
 Red Hat 


 James Strachan 
 jstrachan 
 Red Hat 


 Martin Krasser 
 krasserm 



 Nicky Sandhu 
 nsandhu 



 Raul Kripalani 
 raulk 



 Richard Kettelerij 
 rickette 
 Avisi BV 


 Rob Davies 
 rajdavies 
 Red Hat 


 Roman Kalukiewicz 
 romkal 



 Scott England-Sullivan 
 sully6768 
 Red Hat 


 Stan Lewis 
 slewis 
 Red Hat 


 Tracy Snell 
 tjsnell 
 Juice Labs 


 Willem Jiang 
 ningjiang 
 Red Hat 


 William Tam 
 wtam 
 Progress Software 





Contributors

Adding your name to the list belowIf you have been contributing to the Apache Camel project, and you want your name added to the list below. Then you can get in touch with the Camel team from the Mailing Lists and ask to be added.




 Name 
 Organisation 


 Aaron Crickenberger 



 Al Maw 



 Aleksi Kallio 



 Andrew Deason 



 Andy Depue 



 Axel Hohaus 



 Arjan Moraal 



 Barry Kaplan 



 Brett Meyer 
 3River Development 


 Brian Diesenhaus 



 Brian Guan 



 Brian Madigan 



 Bruno Barin 



 Bruno Borges 



 Bryan Schmidt 



 Chris Kingsbury 
 TradingScreen 


 Christopher G. Stach II 



 Charles Anthony 



 Dan Checkoway 



 Dennis Byrne 
 Thoughtworks 


 Erik Onnen 



 Fernando Ribeiro 
 Upic 


 Gert Vanthienen 



 Glen Klyuzner 
 Tullib 


 Hakan Guleryuz 
 ASPone 


 James Chamberlain 



 James Zhang 



 Jamie McCrindle 



 Jason Anderson 



 Jason Carreira 



 Jason Sherman 



 Jérôme Delagnes 



 Jeff Sparkes 



 Jeff Lansing 
 SYS Technologies 


 Jeremy Volkman 



 Joe Fernandez 
 TTM 


 John Heitmann 



 Jonathan Cook 
 BBC 


 Juraj Tomasov 



 Kevin Ross 



 Leo Pechersky 



 Li Ma 



 Lars Heinemann 
 Red Hat 


 Marco Buss 
 product + concept 


 Marco Luebcke 



 Mark Bucayan 



 Mark Timmings 



 Mario Siegenthaler 



 Mathieu Lalonde 



 Mats Henricson 



 Matt Hoffman 



 Matthew Vincent 



 Mathew Kuppe 
 360 Treasury Systems 


 Mike Perham 



 Mitko Kolev 
 InterComponentWare AG 


 Neil Clayton 
 Royal Bank of Scotland 


 Neil Thorne 



 Nick Reid 
 Evolution 


 Niklas Gustavsson 



 Ning Li 



 Noah Nordrum 



 Oliver Belikan 



 Ozgur Cetinturk 



 Paul Smith 



 Paul Wai 



 Pawel Tucholski 



 Peter Henning 



 Przemyslaw Budzik 



 Radek Sedmak 



 Reuben Garrett 



 Robert Liguori 
 STG Technologies, Inc. 


 Robin Roos 
 Dresdner Kleinwort Wasserstein 


 Ross Mason 



 Sami Dalouche 



 Sanjiv Jivan 



 Steven Marcus 



 Taylor Gautier 



 Thomas Heller 



 Trevor Pounds 



 Xueqiang Mi 








Change Notification Preferences

View Online
|
View Changes
|
Add Comment









svn commit: r857718 - /websites/production/camel/content/team.html

2013-04-08 Thread buildbot
Author: buildbot
Date: Mon Apr  8 09:23:18 2013
New Revision: 857718

Log:
Production update by buildbot for camel

Modified:
websites/production/camel/content/team.html

Modified: websites/production/camel/content/team.html
==
--- websites/production/camel/content/team.html (original)
+++ websites/production/camel/content/team.html Mon Apr  8 09:23:18 2013
@@ -80,7 +80,7 @@
 h3a shape=rect name=Team-Committers/aCommitters/h3
 
 div class=table-wrap
-table class=confluenceTabletbodytrth colspan=1 rowspan=1 
class=confluenceTh Name /thth colspan=1 rowspan=1 
class=confluenceTh ID /thth colspan=1 rowspan=1 class=confluenceTh 
Organisation /th/trtrtd colspan=1 rowspan=1 class=confluenceTd 
Aaron Mulder /tdtd colspan=1 rowspan=1 class=confluenceTd ammulder 
/tdtd colspan=1 rowspan=1 class=confluenceTd a shape=rect 
class=external-link href=http://chariotsolutions.com; rel=nofollowChariot 
Solutions/a /td/trtrtd colspan=1 rowspan=1 class=confluenceTd 
Babak Vahdat /tdtd colspan=1 rowspan=1 class=confluenceTd bvahdat 
/tdtd colspan=1 rowspan=1 class=confluenceTd Cyberlogic Consulting 
GmbH /td/trtrtd colspan=1 rowspan=1 class=confluenceTd a 
shape=rect class=external-link href=http://www.consulting-notes.com; 
rel=nofollowBen O'Day/a /tdtd colspan=1 rowspan=1 
class=confluenceTd boday /tdt
 d colspan=1 rowspan=1 class=confluenceTd a shape=rect 
class=external-link href=http://savoirtech.com; rel=nofollowSavoir 
Technologies/a /td/trtrtd colspan=1 rowspan=1 
class=confluenceTd a shape=rect class=external-link 
href=http://www.ofbizian.com; rel=nofollowBilgin Ibryam /a /tdtd 
colspan=1 rowspan=1 class=confluenceTd bibryam /tdtd colspan=1 
rowspan=1 class=confluenceTd a shape=rect class=external-link 
href=http://www.bbc.co.uk/; rel=nofollowBBC/a /td/trtrtd 
colspan=1 rowspan=1 class=confluenceTd a shape=rect 
class=external-link href=http://bsnyderblog.blogspot.com/; 
rel=nofollowBruce Snyder/a /tdtd colspan=1 rowspan=1 
class=confluenceTd bsnyder /tdtd colspan=1 rowspan=1 
class=confluenceTd a shape=rect class=external-link 
href=http://springsource.com/; rel=nofollowSpringSource/a 
/td/trtrtd colspan=1 rowspan=1 class=confluenceTd a
  shape=rect class=external-link href=http://cmoulliard.blogspot.com; 
rel=nofollowCharles Moulliard/a /tdtd colspan=1 rowspan=1 
class=confluenceTd cmoulliard /tdtd colspan=1 rowspan=1 
class=confluenceTd a shape=rect class=external-link 
href=http://www.redhat.com/products/jbossenterprisemiddleware/fusesource/; 
rel=nofollowRed Hat/a /td/trtrtd colspan=1 rowspan=1 
class=confluenceTd Christian Mueller /tdtd colspan=1 rowspan=1 
class=confluenceTd cmueller /tdtd colspan=1 rowspan=1 
class=confluenceTd a shape=rect class=external-link 
href=http://www.atosworldline.com/index.htm; rel=nofollowAtos Worldline/a 
/td/trtrtd colspan=1 rowspan=1 class=confluenceTd a shape=rect 
class=external-link href=http://www.liquid-reality.de; 
rel=nofollowChristian Schneider/a /tdtd colspan=1 rowspan=1 
class=confluenceTd cschneider /tdtd colspan=1 rowspan=1 
class=confluenceTd
  a shape=rect class=external-link href=http://www.talend.com; 
rel=nofollowTalend/a /td/trtrtd colspan=1 rowspan=1 
class=confluenceTd a shape=rect class=external-link 
href=http://davsclaus.blogspot.com/; rel=nofollowClaus Ibsen/a /tdtd 
colspan=1 rowspan=1 class=confluenceTd davsclaus /tdtd colspan=1 
rowspan=1 class=confluenceTd a shape=rect class=external-link 
href=http://www.redhat.com/products/jbossenterprisemiddleware/fusesource/; 
rel=nofollowRed Hat/a /td/trtrtd colspan=1 rowspan=1 
class=confluenceTd David Jencks /tdtd colspan=1 rowspan=1 
class=confluenceTd djencks /tdtd colspan=1 rowspan=1 
class=confluenceTd a shape=rect class=external-link 
href=http://www.ibm.com; rel=nofollowIBM/a /td/trtrtd colspan=1 
rowspan=1 class=confluenceTd a shape=rect class=external-link 
href=http://dankulp.com/blog/; rel=nofollowDaniel Kulp/a /tdtd colspan
 =1 rowspan=1 class=confluenceTd dkulp /tdtd colspan=1 rowspan=1 
class=confluenceTd a shape=rect class=external-link 
href=http://www.talend.com; rel=nofollowTalend/a /td/trtrtd 
colspan=1 rowspan=1 class=confluenceTd a shape=rect 
class=external-link href=http://freemanfang.blogspot.com/; 
rel=nofollowFreeman Fang/a /tdtd colspan=1 rowspan=1 
class=confluenceTd ffang /tdtd colspan=1 rowspan=1 
class=confluenceTd a shape=rect class=external-link 
href=http://www.redhat.com/products/jbossenterprisemiddleware/fusesource/; 
rel=nofollowRed Hat/a /td/trtrtd colspan=1 rowspan=1 
class=confluenceTd Gary Tully /tdtd colspan=1 rowspan=1 
class=confluenceTd gtully /tdtd colspan=1 rowspan=1 
class=confluenceTd a shape=rect class=external-link 
href=http://www.redhat.com/products/jbossenterprisemiddleware/fusesource/; 
rel=nofollowRed Hat/a /td/trtrtd colspan=1 ro
 wspan=1 class=confluenceTd Gert Vanthienen /tdtd colspan=1 
rowspan=1 class=confluenceTd gertv /tdtd colspan=1 rowspan=1 
class=confluenceTd a 

svn commit: r1465589 - in /camel/trunk: components/camel-cxf/pom.xml components/camel-soap/pom.xml components/camel-xmlbeans/pom.xml parent/pom.xml

2013-04-08 Thread bvahdat
Author: bvahdat
Date: Mon Apr  8 11:08:39 2013
New Revision: 1465589

URL: http://svn.apache.org/r1465589
Log:
Fixed the build errors using eclipse (maven-eclipse-plugin).

Modified:
camel/trunk/components/camel-cxf/pom.xml
camel/trunk/components/camel-soap/pom.xml
camel/trunk/components/camel-xmlbeans/pom.xml
camel/trunk/parent/pom.xml

Modified: camel/trunk/components/camel-cxf/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-cxf/pom.xml?rev=1465589r1=1465588r2=1465589view=diff
==
--- camel/trunk/components/camel-cxf/pom.xml (original)
+++ camel/trunk/components/camel-cxf/pom.xml Mon Apr  8 11:08:39 2013
@@ -328,8 +328,8 @@
 artifactIdcxf-codegen-plugin/artifactId
 executions
   execution
-idgenerate-test-sources/id
-phasegenerate-test-sources/phase
+idgenerate-sources/id
+phasegenerate-sources/phase
 configuration
   
testSourceRoot${basedir}/target/generated/src/test/java/testSourceRoot
   wsdlOptions

Modified: camel/trunk/components/camel-soap/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-soap/pom.xml?rev=1465589r1=1465588r2=1465589view=diff
==
--- camel/trunk/components/camel-soap/pom.xml (original)
+++ camel/trunk/components/camel-soap/pom.xml Mon Apr  8 11:08:39 2013
@@ -129,7 +129,7 @@
 executions
 execution
 idgenerate-sources-wsdl/id
-phasegenerate-test-sources/phase
+phasegenerate-sources/phase
 configuration
 
testSourceRoot${basedir}/target/generated/src/test/java/testSourceRoot
 defaultOptions

Modified: camel/trunk/components/camel-xmlbeans/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-xmlbeans/pom.xml?rev=1465589r1=1465588r2=1465589view=diff
==
--- camel/trunk/components/camel-xmlbeans/pom.xml (original)
+++ camel/trunk/components/camel-xmlbeans/pom.xml Mon Apr  8 11:08:39 2013
@@ -76,9 +76,11 @@
 plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdxmlbeans-maven-plugin/artifactId
-version2.3.3/version
+version${xmlbeans-maven-plugin-version}/version
 executions
 execution
+idgenerate-sources/id
+phasegenerate-sources/phase
 goals
 goalxmlbeans-test/goal
 /goals

Modified: camel/trunk/parent/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?rev=1465589r1=1465588r2=1465589view=diff
==
--- camel/trunk/parent/pom.xml (original)
+++ camel/trunk/parent/pom.xml Mon Apr  8 11:08:39 2013
@@ -389,6 +389,7 @@
 xml-apis-version1.4.01/xml-apis-version
 xml-resolver-version1.2/xml-resolver-version
 xmlbeans-bundle-version2.6.0_2/xmlbeans-bundle-version
+xmlbeans-maven-plugin-version2.3.3/xmlbeans-maven-plugin-version
 xmlbeans-version2.6.0/xmlbeans-version
 xmlresolver-bundle-version1.2_5/xmlresolver-bundle-version
 xmlrpc-version3.1.3/xmlrpc-version




svn commit: r1465591 - /camel/trunk/components/camel-rx/

2013-04-08 Thread bvahdat
Author: bvahdat
Date: Mon Apr  8 11:22:00 2013
New Revision: 1465591

URL: http://svn.apache.org/r1465591
Log:
Added the svn:ignore entries.

Modified:
camel/trunk/components/camel-rx/   (props changed)

Propchange: camel/trunk/components/camel-rx/
--
--- svn:ignore (original)
+++ svn:ignore Mon Apr  8 11:22:00 2013
@@ -1 +1,17 @@
+.pmd
+.checkstyle
+.ruleset
 target
+.settings
+.classpath
+.project
+.wtpmodules
+prj.el
+.jdee_classpath
+.jdee_sources
+velocity.log
+eclipse-classes
+*.ipr
+*.iml
+*.iws
+.idea




svn commit: r1465667 - /camel/trunk/components/camel-mongodb/pom.xml

2013-04-08 Thread davsclaus
Author: davsclaus
Date: Mon Apr  8 15:36:13 2013
New Revision: 1465667

URL: http://svn.apache.org/r1465667
Log:
skip tests which cant run on aix properly

Modified:
camel/trunk/components/camel-mongodb/pom.xml

Modified: camel/trunk/components/camel-mongodb/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-mongodb/pom.xml?rev=1465667r1=1465666r2=1465667view=diff
==
--- camel/trunk/components/camel-mongodb/pom.xml (original)
+++ camel/trunk/components/camel-mongodb/pom.xml Mon Apr  8 15:36:13 2013
@@ -75,4 +75,19 @@
 /dependency
   /dependencies
 
+!-- skip tests on AIX --
+profiles
+profile
+idaix/id
+activation
+os
+familyAIX/family
+/os
+/activation
+properties
+skipTeststrue/skipTests
+/properties
+/profile
+/profiles
+
 /project




[CONF] Apache Camel Building

2013-04-08 Thread confluence







Building
Page edited by Daniel Kulp


 Changes (3)
 




...
To build camel maven has to be configured to use more memory  
h5. Unix/Linux/Mac 
{code} 
set export MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=512m 
{code} 
h5. Windows {code} set MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=512m {code} 
 h3. A normal build 
...


Full Content

Building Camel from Source

Camel uses Maven as its build and management tool. If you don't fancy using Maven you can use your IDE directly or Download a distribution or JAR.

Prequisites

Required:

	Download and install Maven.
  (Maven 2.2.1 or better is required to build Camel 2.5 onwards).
  (Maven 3.0.2 or better is required to build Camel 2.10 onwards).
  (Maven 3.0.4 or better is required to build Camel 2.11 onwards).
	Get the latest Source
	Java 1.6
  (Java 1.5 is @deprecated and no longer supported from Camel 2.7 onwards)
  (Java 1.7 is supported from Camel 2.10 onwards)



Optional:

	Prince should be in the executable PATH to generate the PDF documentation




Maven options

To build camel maven has to be configured to use more memory

Unix/Linux/Mac


export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=512m"


Windows


set MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=512m



A normal build



mvn clean install



A normal build without running tests



mvn clean install -Pfastinstall



A normal build without running tests but checkstyle verification enabled



mvn clean install -Pfastinstall,sourcecheck



Doing a Quick Build
Available as of Camel 2.6

The following skips building the manual, the distro and does not execute the unit tests.


mvn install -Pfastinstall



Using an IDE

If you prefer to use an IDE then you can auto-generate the IDE's project files using maven plugins. e.g.

IntelliJ


mvn idea:idea



Eclipse
There are several ways to import the projects into Eclipse.
m2e
At this point, usage of the m2e plugins to import Camel into Eclipse is untested and unsupported.  Patches, notes, etc... to help get this supported would be more than welcome.

maven-eclipse-plugin
The maven-eclipse-plugin can be used to generate the .classpath/.project/.settings file that Eclipse need.  To do this, run:


mvn process-test-sources eclipse:eclipse


or


mvn -Psetup.eclipse -Declipse.workspace.dir=/path/to/your/workspace



The latter is recommended as it would completely setup the workspace for you as well as provide options to wire in other projects also found in your workspace.

After running the above command, from within Eclipse, do "File - Import - Existing Projects into Workspace", select the root camel checkout location and Eclipse should find all the projects.  

Adding Camel Eclipse templates to your workspace

The above mentioned setup.eclipse profile does a few additional things to your workspace:


	Adds the Camel code templates (see here)




	Sets the M2_REPO variable in the workspace that points to your local Maven repository (i.e., ~/.m2/repository on Unix and c:\Documents and Settings\user\.m2\repository on Windows) which allows the jars to be resolved.



Hint: specify the workspace location in your .m2/settings.xml
You can add a profile to your .m2/settings.xml to specify your eclipse workspace location so you can avoid having to type that each time you need to update the projects.


profiles
profile
idsetup.eclipse/id
properties
eclipse.workspace/path/to/your/workspace/eclipse.workspace
/properties
/profile
/profiles



Building with checkstyle

To enable source style checking with checkstyle, build Camel with the -Psourcecheck parameter



mvn -Psourcecheck clean install



Building source jars
If you want to build jar files with the source code, that for instance Eclipse can important so you can debug the Camel code as well. Then you can run this command from the camel root folder:


mvn clean source:jar install -Pfastinstall



Building with Spring 3.0

Support for Spring 3.0 is deprecated from Camel 2.11 onwards.

From Camel 2.11.0 onwards, if you want Camel to be build against Spring 3.0 you have to build with the maven profile spring3.0.


mvn clean install -Pspring3.0



Building with Spring 3.1
From Camel 2.10.0 onwards, if you want Camel to be build against Spring 3.1 you have to build with the maven profile spring3.1.


mvn clean install -Pspring3.1



Note: the camel-test-spring component requires to be built with Spring 3.1.

Building with Spring 3.2
From Camel 2.11.0 onwards, if you want Camel to be build against Spring 3.2 you have to build with the maven profile spring3.2.


mvn clean install -Pspring3.2



Working with features
If you change anything in the features.xml from platform/karaf you can run a 

[CONF] Apache Camel Building

2013-04-08 Thread confluence







Building
Page edited by Daniel Kulp


 Changes (0)
 




...
 # Adds the Camel code templates (see [here|http://janstey.blogspot.com/2008/08/eclipse-templates-for-apache-camel.html]) 
# Sets the M2_REPO variable in the workspace that points to your local Maven repository (i.e., {{~/.m2/repository}} on Unix and {{c:\Documents and Settings\user\.m2\repository}} on Windows) which allows the jars to be resolved.  
...


Full Content

Building Camel from Source

Camel uses Maven as its build and management tool. If you don't fancy using Maven you can use your IDE directly or Download a distribution or JAR.

Prequisites

Required:

	Download and install Maven.
  (Maven 2.2.1 or better is required to build Camel 2.5 onwards).
  (Maven 3.0.2 or better is required to build Camel 2.10 onwards).
  (Maven 3.0.4 or better is required to build Camel 2.11 onwards).
	Get the latest Source
	Java 1.6
  (Java 1.5 is @deprecated and no longer supported from Camel 2.7 onwards)
  (Java 1.7 is supported from Camel 2.10 onwards)



Optional:

	Prince should be in the executable PATH to generate the PDF documentation




Maven options

To build camel maven has to be configured to use more memory

Unix/Linux/Mac


export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=512m"


Windows


set MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=512m



A normal build



mvn clean install



A normal build without running tests



mvn clean install -Pfastinstall



A normal build without running tests but checkstyle verification enabled



mvn clean install -Pfastinstall,sourcecheck



Doing a Quick Build
Available as of Camel 2.6

The following skips building the manual, the distro and does not execute the unit tests.


mvn install -Pfastinstall



Using an IDE

If you prefer to use an IDE then you can auto-generate the IDE's project files using maven plugins. e.g.

IntelliJ


mvn idea:idea



Eclipse
There are several ways to import the projects into Eclipse.
m2e
At this point, usage of the m2e plugins to import Camel into Eclipse is untested and unsupported.  Patches, notes, etc... to help get this supported would be more than welcome.

maven-eclipse-plugin
The maven-eclipse-plugin can be used to generate the .classpath/.project/.settings file that Eclipse need.  To do this, run:


mvn process-test-sources eclipse:eclipse


or


mvn -Psetup.eclipse -Declipse.workspace.dir=/path/to/your/workspace



The latter is recommended as it would completely setup the workspace for you as well as provide options to wire in other projects also found in your workspace.

After running the above command, from within Eclipse, do "File - Import - Existing Projects into Workspace", select the root camel checkout location and Eclipse should find all the projects.  

Adding Camel Eclipse templates to your workspace

The above mentioned setup.eclipse profile does a few additional things to your workspace:


	Adds the Camel code templates (see here)
	Sets the M2_REPO variable in the workspace that points to your local Maven repository (i.e., ~/.m2/repository on Unix and c:\Documents and Settings\user\.m2\repository on Windows) which allows the jars to be resolved.



Hint: specify the workspace location in your .m2/settings.xml
You can add a profile to your .m2/settings.xml to specify your eclipse workspace location so you can avoid having to type that each time you need to update the projects.


profiles
profile
idsetup.eclipse/id
properties
eclipse.workspace/path/to/your/workspace/eclipse.workspace
/properties
/profile
/profiles



Building with checkstyle

To enable source style checking with checkstyle, build Camel with the -Psourcecheck parameter



mvn -Psourcecheck clean install



Building source jars
If you want to build jar files with the source code, that for instance Eclipse can important so you can debug the Camel code as well. Then you can run this command from the camel root folder:


mvn clean source:jar install -Pfastinstall



Building with Spring 3.0

Support for Spring 3.0 is deprecated from Camel 2.11 onwards.

From Camel 2.11.0 onwards, if you want Camel to be build against Spring 3.0 you have to build with the maven profile spring3.0.


mvn clean install -Pspring3.0



Building with Spring 3.1
From Camel 2.10.0 onwards, if you want Camel to be build against Spring 3.1 you have to build with the maven profile spring3.1.


mvn clean install -Pspring3.1



Note: the camel-test-spring component requires to be built with Spring 3.1.

Building with Spring 3.2
From Camel 2.11.0 onwards, if you want Camel to be build against Spring 3.2 you have to build with the maven profile spring3.2.


mvn clean install -Pspring3.2



Working with features
If you change anything in the 

svn commit: r857781 - /websites/production/camel/content/building.html

2013-04-08 Thread buildbot
Author: buildbot
Date: Mon Apr  8 20:23:18 2013
New Revision: 857781

Log:
Production update by buildbot for camel

Modified:
websites/production/camel/content/building.html

Modified: websites/production/camel/content/building.html
==
--- websites/production/camel/content/building.html (original)
+++ websites/production/camel/content/building.html Mon Apr  8 20:23:18 2013
@@ -99,9 +99,16 @@
 
 pTo build camel maven has to be configured to use more memory/p
 
+h5a shape=rect name=Building-Unix%2FLinux%2FMac/aUnix/Linux/Mac/h5
 div class=code panel style=border-width: 1px;div class=codeContent 
panelContent
 pre class=code-java
-set MAVEN_OPTS=span class=code-quote-Xmx1024m -XX:MaxPermSize=512m/span
+export MAVEN_OPTS=span class=code-quote-Xmx1024m 
-XX:MaxPermSize=512m/span
+/pre
+/div/div
+h5a shape=rect name=Building-Windows/aWindows/h5
+div class=code panel style=border-width: 1px;div class=codeContent 
panelContent
+pre class=code-java
+set MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=512m
 /pre
 /div/div
 
@@ -143,37 +150,55 @@ mvn install -Pfastinstall
 
 pIf you prefer to use an IDE then you can auto-generate the IDE's project 
files using maven plugins. e.g./p
 
+h4a shape=rect name=Building-IntelliJ/aIntelliJ/h4
 div class=code panel style=border-width: 1px;div class=codeContent 
panelContent
 pre class=code-java
-mvn eclipse:eclipse
+mvn idea:idea
 /pre
 /div/div
 
-por/p
+h4a shape=rect name=Building-Eclipse/aEclipse/h4
+pThere are several ways to import the projects into Eclipse./p
+h5a shape=rect name=Building-m2e/am2e/h5
+pAt this point, usage of the m2e plugins to import Camel into Eclipse is 
untested and unsupported.  Patches, notes, etc... to help get this supported 
would be more than welcome./p
 
+h5a shape=rect 
name=Building-maveneclipseplugin/amaven-eclipse-plugin/h5
+pThe maven-eclipse-plugin can be used to generate the 
.classpath/.project/.settings file that Eclipse need.  To do this, run:/p
 div class=code panel style=border-width: 1px;div class=codeContent 
panelContent
 pre class=code-java
-mvn idea:idea
+mvn process-test-sources eclipse:eclipse
 /pre
 /div/div
-
-h4a shape=rect 
name=Building-AddingCamelEclipsetemplatestoyourworkspace/aAdding Camel 
Eclipse templates to your workspace/h4
-
+por/p
 div class=code panel style=border-width: 1px;div class=codeContent 
panelContent
 pre class=code-java
 mvn -Psetup.eclipse -Declipse.workspace.dir=/path/to/your/workspace
 /pre
 /div/div
 
-pYou can also find some helpful notes on usage a shape=rect 
class=external-link 
href=http://janstey.blogspot.com/2008/08/eclipse-templates-for-apache-camel.html;
 rel=nofollowhere/a. /p
+pThe latter is recommended as it would completely setup the workspace for 
you as well as provide options to wire in other projects also found in your 
workspace./p
+
+pAfter running the above command, from within Eclipse, do File -gt; Import 
-gt; Existing Projects into Workspace, select the root camel checkout 
location and Eclipse should find all the projects.  /p
+
+h5a shape=rect 
name=Building-AddingCamelEclipsetemplatestoyourworkspace/aAdding Camel 
Eclipse templates to your workspace/h5
 
-h4a shape=rect name=Building-ImportingintoEclipse/aImporting into 
Eclipse/h4
-pIf you have not already done so, you will need to make Eclipse aware of the 
Maven repository so that it can build everything. In the preferences, go to 
Java-gt;Build Path-gt;Classpath and define a new Classpath Variable named 
M2_REPO that points to your local Maven repository (i.e., 
tt~/.m2/repository/tt on Unix and ttc:\Documents and 
Settings\lt;usergt;\.m2\repository/tt on Windows)./p
+pThe above mentioned setup.eclipse profile does a few additional things to 
your workspace:/p
 
-pYou can also get Maven to do this for you:/p
+olliAdds the Camel code templates (see a shape=rect 
class=external-link 
href=http://janstey.blogspot.com/2008/08/eclipse-templates-for-apache-camel.html;
 rel=nofollowhere/a)/liliSets the M2_REPO variable in the workspace 
that points to your local Maven repository (i.e., tt~/.m2/repository/tt on 
Unix and ttc:\Documents and Settings\lt;usergt;\.m2\repository/tt on 
Windows) which allows the jars to be resolved./li/ol
+
+
+h5a shape=rect 
name=Building-Hint%3Aspecifytheworkspacelocationinyour.m2%2Fsettings.xml/aHint:
 specify the workspace location in your .m2/settings.xml/h5
+pYou can add a profile to your .m2/settings.xml to specify your eclipse 
workspace location so you can avoid having to type that each time you need to 
update the projects./p
 div class=code panel style=border-width: 1px;div class=codeContent 
panelContent
-pre class=code-java
-mvn eclipse:configure-workspace -Declipse.workspace=/path/to/the/workspace/ 
+pre class=code-xml
+span class=code-taglt;profilesgt;/span
+span class=code-taglt;profilegt;/span
+span class=code-taglt;idgt;/spansetup.eclipsespan 
class=code-taglt;/idgt;/span
+span 

svn commit: r1465787 - /camel/tags/camel-2.11.0/

2013-04-08 Thread cmueller
Author: cmueller
Date: Mon Apr  8 21:08:20 2013
New Revision: 1465787

URL: http://svn.apache.org/r1465787
Log:
undo the Camel 2.11.0 release

Removed:
camel/tags/camel-2.11.0/



svn commit: r1465792 - in /camel/trunk: etc/pom.xml tests/camel-itest-karaf/pom.xml tests/camel-itest-osgi/pom.xml tests/camel-itest-performance/pom.xml tests/camel-performance/pom.xml

2013-04-08 Thread cmueller
Author: cmueller
Date: Mon Apr  8 21:13:50 2013
New Revision: 1465792

URL: http://svn.apache.org/r1465792
Log:
Revert: Manually updating version numbers which are not updated by the 
maven-release-plugin

Modified:
camel/trunk/etc/pom.xml
camel/trunk/tests/camel-itest-karaf/pom.xml
camel/trunk/tests/camel-itest-osgi/pom.xml
camel/trunk/tests/camel-itest-performance/pom.xml
camel/trunk/tests/camel-performance/pom.xml

Modified: camel/trunk/etc/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/etc/pom.xml?rev=1465792r1=1465791r2=1465792view=diff
==
--- camel/trunk/etc/pom.xml (original)
+++ camel/trunk/etc/pom.xml Mon Apr  8 21:13:50 2013
@@ -23,7 +23,8 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdcamel-parent/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
+relativePath../parent/relativePath
   /parent
 
   artifactIdcamel-etc/artifactId

Modified: camel/trunk/tests/camel-itest-karaf/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-karaf/pom.xml?rev=1465792r1=1465791r2=1465792view=diff
==
--- camel/trunk/tests/camel-itest-karaf/pom.xml (original)
+++ camel/trunk/tests/camel-itest-karaf/pom.xml Mon Apr  8 21:13:50 2013
@@ -23,7 +23,7 @@
 parent
 groupIdorg.apache.camel/groupId
 artifactIdtests/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
 /parent
 
 artifactIdcamel-itest-karaf/artifactId

Modified: camel/trunk/tests/camel-itest-osgi/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-osgi/pom.xml?rev=1465792r1=1465791r2=1465792view=diff
==
--- camel/trunk/tests/camel-itest-osgi/pom.xml (original)
+++ camel/trunk/tests/camel-itest-osgi/pom.xml Mon Apr  8 21:13:50 2013
@@ -22,7 +22,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdtests/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
   /parent
 
   artifactIdcamel-itest-osgi/artifactId

Modified: camel/trunk/tests/camel-itest-performance/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-performance/pom.xml?rev=1465792r1=1465791r2=1465792view=diff
==
--- camel/trunk/tests/camel-itest-performance/pom.xml (original)
+++ camel/trunk/tests/camel-itest-performance/pom.xml Mon Apr  8 21:13:50 2013
@@ -22,7 +22,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdtests/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
   /parent
 
   artifactIdcamel-itest-performance/artifactId

Modified: camel/trunk/tests/camel-performance/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tests/camel-performance/pom.xml?rev=1465792r1=1465791r2=1465792view=diff
==
--- camel/trunk/tests/camel-performance/pom.xml (original)
+++ camel/trunk/tests/camel-performance/pom.xml Mon Apr  8 21:13:50 2013
@@ -22,7 +22,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdtests/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
   /parent
 
   artifactIdcamel-performance/artifactId




svn commit: r1465799 [3/3] - in /camel/trunk: ./ apache-camel/ buildingtools/ camel-core/ components/ components/camel-ahc/ components/camel-amqp/ components/camel-apns/ components/camel-atom/ compone

2013-04-08 Thread cmueller
Modified: camel/trunk/tooling/camel-manual/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/camel-manual/pom.xml?rev=1465799r1=1465798r2=1465799view=diff
==
--- camel/trunk/tooling/camel-manual/pom.xml (original)
+++ camel/trunk/tooling/camel-manual/pom.xml Mon Apr  8 21:30:15 2013
@@ -23,7 +23,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdtooling/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
   /parent
 
   artifactIdcamel-manual/artifactId

Modified: camel/trunk/tooling/maven/camel-maven-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/maven/camel-maven-plugin/pom.xml?rev=1465799r1=1465798r2=1465799view=diff
==
--- camel/trunk/tooling/maven/camel-maven-plugin/pom.xml (original)
+++ camel/trunk/tooling/maven/camel-maven-plugin/pom.xml Mon Apr  8 21:30:15 
2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdmaven-plugins/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
   /parent
 
   artifactIdcamel-maven-plugin/artifactId

Modified: camel/trunk/tooling/maven/camel-package-maven-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/maven/camel-package-maven-plugin/pom.xml?rev=1465799r1=1465798r2=1465799view=diff
==
--- camel/trunk/tooling/maven/camel-package-maven-plugin/pom.xml (original)
+++ camel/trunk/tooling/maven/camel-package-maven-plugin/pom.xml Mon Apr  8 
21:30:15 2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdmaven-plugins/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
   /parent
 
   artifactIdcamel-package-maven-plugin/artifactId

Modified: camel/trunk/tooling/maven/guice-maven-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/maven/guice-maven-plugin/pom.xml?rev=1465799r1=1465798r2=1465799view=diff
==
--- camel/trunk/tooling/maven/guice-maven-plugin/pom.xml (original)
+++ camel/trunk/tooling/maven/guice-maven-plugin/pom.xml Mon Apr  8 21:30:15 
2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdmaven-plugins/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
   /parent
 
   artifactIdguice-maven-plugin/artifactId

Modified: camel/trunk/tooling/maven/maven-html-to-pdf/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/maven/maven-html-to-pdf/pom.xml?rev=1465799r1=1465798r2=1465799view=diff
==
--- camel/trunk/tooling/maven/maven-html-to-pdf/pom.xml (original)
+++ camel/trunk/tooling/maven/maven-html-to-pdf/pom.xml Mon Apr  8 21:30:15 2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdmaven-plugins/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
   /parent
 
   artifactIdmaven-html-to-pdf/artifactId

Modified: camel/trunk/tooling/maven/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/maven/pom.xml?rev=1465799r1=1465798r2=1465799view=diff
==
--- camel/trunk/tooling/maven/pom.xml (original)
+++ camel/trunk/tooling/maven/pom.xml Mon Apr  8 21:30:15 2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdtooling/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
   /parent
 
   artifactIdmaven-plugins/artifactId

Modified: camel/trunk/tooling/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/pom.xml?rev=1465799r1=1465798r2=1465799view=diff
==
--- camel/trunk/tooling/pom.xml (original)
+++ camel/trunk/tooling/pom.xml Mon Apr  8 21:30:15 2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdcamel-parent/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
 relativePath../parent/relativePath
   /parent
 




svn commit: r1465805 [3/3] - in /camel/trunk: ./ apache-camel/ buildingtools/ camel-core/ components/ components/camel-ahc/ components/camel-amqp/ components/camel-apns/ components/camel-atom/ compone

2013-04-08 Thread cmueller
Modified: camel/trunk/tooling/camel-manual/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/camel-manual/pom.xml?rev=1465805r1=1465804r2=1465805view=diff
==
--- camel/trunk/tooling/camel-manual/pom.xml (original)
+++ camel/trunk/tooling/camel-manual/pom.xml Mon Apr  8 22:06:46 2013
@@ -23,7 +23,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdtooling/artifactId
-version2.11-SNAPSHOT/version
+version2.11.0/version
   /parent
 
   artifactIdcamel-manual/artifactId

Modified: camel/trunk/tooling/maven/camel-maven-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/maven/camel-maven-plugin/pom.xml?rev=1465805r1=1465804r2=1465805view=diff
==
--- camel/trunk/tooling/maven/camel-maven-plugin/pom.xml (original)
+++ camel/trunk/tooling/maven/camel-maven-plugin/pom.xml Mon Apr  8 22:06:46 
2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdmaven-plugins/artifactId
-version2.11-SNAPSHOT/version
+version2.11.0/version
   /parent
 
   artifactIdcamel-maven-plugin/artifactId

Modified: camel/trunk/tooling/maven/camel-package-maven-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/maven/camel-package-maven-plugin/pom.xml?rev=1465805r1=1465804r2=1465805view=diff
==
--- camel/trunk/tooling/maven/camel-package-maven-plugin/pom.xml (original)
+++ camel/trunk/tooling/maven/camel-package-maven-plugin/pom.xml Mon Apr  8 
22:06:46 2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdmaven-plugins/artifactId
-version2.11-SNAPSHOT/version
+version2.11.0/version
   /parent
 
   artifactIdcamel-package-maven-plugin/artifactId

Modified: camel/trunk/tooling/maven/guice-maven-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/maven/guice-maven-plugin/pom.xml?rev=1465805r1=1465804r2=1465805view=diff
==
--- camel/trunk/tooling/maven/guice-maven-plugin/pom.xml (original)
+++ camel/trunk/tooling/maven/guice-maven-plugin/pom.xml Mon Apr  8 22:06:46 
2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdmaven-plugins/artifactId
-version2.11-SNAPSHOT/version
+version2.11.0/version
   /parent
 
   artifactIdguice-maven-plugin/artifactId

Modified: camel/trunk/tooling/maven/maven-html-to-pdf/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/maven/maven-html-to-pdf/pom.xml?rev=1465805r1=1465804r2=1465805view=diff
==
--- camel/trunk/tooling/maven/maven-html-to-pdf/pom.xml (original)
+++ camel/trunk/tooling/maven/maven-html-to-pdf/pom.xml Mon Apr  8 22:06:46 2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdmaven-plugins/artifactId
-version2.11-SNAPSHOT/version
+version2.11.0/version
   /parent
 
   artifactIdmaven-html-to-pdf/artifactId

Modified: camel/trunk/tooling/maven/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/maven/pom.xml?rev=1465805r1=1465804r2=1465805view=diff
==
--- camel/trunk/tooling/maven/pom.xml (original)
+++ camel/trunk/tooling/maven/pom.xml Mon Apr  8 22:06:46 2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdtooling/artifactId
-version2.11-SNAPSHOT/version
+version2.11.0/version
   /parent
 
   artifactIdmaven-plugins/artifactId

Modified: camel/trunk/tooling/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/pom.xml?rev=1465805r1=1465804r2=1465805view=diff
==
--- camel/trunk/tooling/pom.xml (original)
+++ camel/trunk/tooling/pom.xml Mon Apr  8 22:06:46 2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdcamel-parent/artifactId
-version2.11-SNAPSHOT/version
+version2.11.0/version
 relativePath../parent/relativePath
   /parent
 




svn commit: r1465806 - /camel/tags/camel-2.11.0/

2013-04-08 Thread cmueller
Author: cmueller
Date: Mon Apr  8 22:07:46 2013
New Revision: 1465806

URL: http://svn.apache.org/r1465806
Log:
[maven-release-plugin]  copy for tag camel-2.11.0

Added:
camel/tags/camel-2.11.0/
  - copied from r1465805, camel/trunk/



svn commit: r857818 - in /websites/production/camel/content: book-in-one-page.html cache/main.pageCache

2013-04-08 Thread buildbot
Author: buildbot
Date: Tue Apr  9 00:23:51 2013
New Revision: 857818

Log:
Production update by buildbot for camel

Modified:
websites/production/camel/content/book-in-one-page.html
websites/production/camel/content/cache/main.pageCache

Modified: websites/production/camel/content/book-in-one-page.html
==
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Tue Apr  9 00:23:51 
2013
@@ -78,9 +78,9 @@
 div class=wiki-content maincontentdiv class=frontcover 
id=frontcoverh1a shape=rect name=BookInOnePage-ApacheCamel/aApache 
Camel/h1
 h2a shape=rect name=BookInOnePage-UserGuide/aUser Guide/h2
 
-h3 id=replacemeVersion 2.10.0/h3
+h3 id=replacemeVersion 2.10.4/h3
 
-pCopyright 2007-2012, Apache Software Foundation/p/div
+pCopyright 2007-2013, Apache Software Foundation/p/div
 div class=toc id=toch1a shape=rect 
name=BookInOnePage-TableofContents/aTable of Contents/h1
 
 

Modified: websites/production/camel/content/cache/main.pageCache
==
Binary files - no diff available.




svn commit: r1465855 - in /camel/trunk/components: camel-cxf-transport/pom.xml camel-cxf/pom.xml

2013-04-08 Thread dkulp
Author: dkulp
Date: Tue Apr  9 01:38:09 2013
New Revision: 1465855

URL: http://svn.apache.org/r1465855
Log:
Just generate jaxws21 code so if you flip back and forth between java7 and 
java6, you don't get wacky build errors and such.

Modified:
camel/trunk/components/camel-cxf-transport/pom.xml
camel/trunk/components/camel-cxf/pom.xml

Modified: camel/trunk/components/camel-cxf-transport/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-cxf-transport/pom.xml?rev=1465855r1=1465854r2=1465855view=diff
==
--- camel/trunk/components/camel-cxf-transport/pom.xml (original)
+++ camel/trunk/components/camel-cxf-transport/pom.xml Tue Apr  9 01:38:09 2013
@@ -183,6 +183,9 @@
 phasegenerate-sources/phase
 configuration
   
testSourceRoot${basedir}/target/generated/src/test/java/testSourceRoot
+  defaultOptions
+  frontEndjaxws21/frontEnd
+  /defaultOptions
   wsdlOptions
 wsdlOption
   wsdl${basedir}/src/test/resources/person.wsdl/wsdl

Modified: camel/trunk/components/camel-cxf/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-cxf/pom.xml?rev=1465855r1=1465854r2=1465855view=diff
==
--- camel/trunk/components/camel-cxf/pom.xml (original)
+++ camel/trunk/components/camel-cxf/pom.xml Tue Apr  9 01:38:09 2013
@@ -332,6 +332,9 @@
 phasegenerate-sources/phase
 configuration
   
testSourceRoot${basedir}/target/generated/src/test/java/testSourceRoot
+  defaultOptions
+  frontEndjaxws21/frontEnd
+  /defaultOptions
   wsdlOptions
 wsdlOption
   wsdl${basedir}/src/test/resources/mtom.wsdl/wsdl




svn commit: r1465856 - in /camel/trunk/tooling/maven/camel-package-maven-plugin/src/main/resources/META-INF/m2e: ./ lifecycle-mapping-metadata.xml

2013-04-08 Thread dkulp
Author: dkulp
Date: Tue Apr  9 01:38:13 2013
New Revision: 1465856

URL: http://svn.apache.org/r1465856
Log:
Add a lifecycle mapping to start working on trying to get camel to build with 
m2e

Added:

camel/trunk/tooling/maven/camel-package-maven-plugin/src/main/resources/META-INF/m2e/

camel/trunk/tooling/maven/camel-package-maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml

Added: 
camel/trunk/tooling/maven/camel-package-maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/maven/camel-package-maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml?rev=1465856view=auto
==
--- 
camel/trunk/tooling/maven/camel-package-maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml
 (added)
+++ 
camel/trunk/tooling/maven/camel-package-maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml
 Tue Apr  9 01:38:13 2013
@@ -0,0 +1,18 @@
+lifecycleMappingMetadata
+  pluginExecutions
+pluginExecution
+  pluginExecutionFilter
+goals
+  goalgenerate-components-list/goal
+/goals
+  /pluginExecutionFilter
+  action
+execute
+  runOnIncrementaltrue/runOnIncremental
+  runOnConfigurationtrue/runOnConfiguration
+/execute
+  /action
+/pluginExecution
+  /pluginExecutions
+/lifecycleMappingMetadata
+




[CONF] Apache Camel Building

2013-04-08 Thread confluence







Building
Page edited by Daniel Kulp


 Changes (1)
 




...
There are several ways to import the projects into Eclipse. h5. m2e 
At this point, usage of the m2e plugins to import Camel into Eclipse is untested and unsupported. does not work due to plugins without LifeCycle hints, bundle plugin configuration problems, etc...  Patches, notes, etc... to help get this supported would be more than welcome. 
 h5. maven-eclipse-plugin 
...


Full Content

Building Camel from Source

Camel uses Maven as its build and management tool. If you don't fancy using Maven you can use your IDE directly or Download a distribution or JAR.

Prequisites

Required:

	Download and install Maven.
  (Maven 2.2.1 or better is required to build Camel 2.5 onwards).
  (Maven 3.0.2 or better is required to build Camel 2.10 onwards).
  (Maven 3.0.4 or better is required to build Camel 2.11 onwards).
	Get the latest Source
	Java 1.6
  (Java 1.5 is @deprecated and no longer supported from Camel 2.7 onwards)
  (Java 1.7 is supported from Camel 2.10 onwards)



Optional:

	Prince should be in the executable PATH to generate the PDF documentation




Maven options

To build camel maven has to be configured to use more memory

Unix/Linux/Mac


export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=512m"


Windows


set MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=512m



A normal build



mvn clean install



A normal build without running tests



mvn clean install -Pfastinstall



A normal build without running tests but checkstyle verification enabled



mvn clean install -Pfastinstall,sourcecheck



Doing a Quick Build
Available as of Camel 2.6

The following skips building the manual, the distro and does not execute the unit tests.


mvn install -Pfastinstall



Using an IDE

If you prefer to use an IDE then you can auto-generate the IDE's project files using maven plugins. e.g.

IntelliJ


mvn idea:idea



Eclipse
There are several ways to import the projects into Eclipse.
m2e
At this point, usage of the m2e plugins to import Camel into Eclipse does not work due to plugins without LifeCycle hints, bundle plugin configuration problems, etc...  Patches, notes, etc... to help get this supported would be more than welcome.

maven-eclipse-plugin
The maven-eclipse-plugin can be used to generate the .classpath/.project/.settings file that Eclipse need.  To do this, run:


mvn process-test-sources eclipse:eclipse


or


mvn -Psetup.eclipse -Declipse.workspace.dir=/path/to/your/workspace



The latter is recommended as it would completely setup the workspace for you as well as provide options to wire in other projects also found in your workspace.

After running the above command, from within Eclipse, do "File - Import - Existing Projects into Workspace", select the root camel checkout location and Eclipse should find all the projects.  

Adding Camel Eclipse templates to your workspace

The above mentioned setup.eclipse profile does a few additional things to your workspace:


	Adds the Camel code templates (see here)
	Sets the M2_REPO variable in the workspace that points to your local Maven repository (i.e., ~/.m2/repository on Unix and c:\Documents and Settings\user\.m2\repository on Windows) which allows the jars to be resolved.



Hint: specify the workspace location in your .m2/settings.xml
You can add a profile to your .m2/settings.xml to specify your eclipse workspace location so you can avoid having to type that each time you need to update the projects.


profiles
profile
idsetup.eclipse/id
properties
eclipse.workspace/path/to/your/workspace/eclipse.workspace
/properties
/profile
/profiles



Building with checkstyle

To enable source style checking with checkstyle, build Camel with the -Psourcecheck parameter



mvn -Psourcecheck clean install



Building source jars
If you want to build jar files with the source code, that for instance Eclipse can important so you can debug the Camel code as well. Then you can run this command from the camel root folder:


mvn clean source:jar install -Pfastinstall



Building with Spring 3.0

Support for Spring 3.0 is deprecated from Camel 2.11 onwards.

From Camel 2.11.0 onwards, if you want Camel to be build against Spring 3.0 you have to build with the maven profile spring3.0.


mvn clean install -Pspring3.0



Building with Spring 3.1
From Camel 2.10.0 onwards, if you want Camel to be build against Spring 3.1 you have to build with the maven profile spring3.1.


mvn clean install -Pspring3.1



Note: the camel-test-spring component requires to be built with Spring 3.1.

Building with Spring 3.2
From Camel 2.11.0 onwards, if you want Camel to be build against Spring 3.2 you have to build with the maven profile 

svn commit: r1465884 - /camel/tags/camel-2.11.0/

2013-04-08 Thread cmueller
Author: cmueller
Date: Tue Apr  9 05:28:24 2013
New Revision: 1465884

URL: http://svn.apache.org/r1465884
Log:
undo the Camel 2.11.0 release

Removed:
camel/tags/camel-2.11.0/



svn commit: r1465889 [3/3] - in /camel/trunk: ./ apache-camel/ buildingtools/ camel-core/ components/ components/camel-ahc/ components/camel-amqp/ components/camel-apns/ components/camel-atom/ compone

2013-04-08 Thread cmueller
Modified: camel/trunk/tooling/camel-manual/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/camel-manual/pom.xml?rev=1465889r1=1465888r2=1465889view=diff
==
--- camel/trunk/tooling/camel-manual/pom.xml (original)
+++ camel/trunk/tooling/camel-manual/pom.xml Tue Apr  9 05:43:16 2013
@@ -23,7 +23,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdtooling/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
   /parent
 
   artifactIdcamel-manual/artifactId

Modified: camel/trunk/tooling/maven/camel-maven-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/maven/camel-maven-plugin/pom.xml?rev=1465889r1=1465888r2=1465889view=diff
==
--- camel/trunk/tooling/maven/camel-maven-plugin/pom.xml (original)
+++ camel/trunk/tooling/maven/camel-maven-plugin/pom.xml Tue Apr  9 05:43:16 
2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdmaven-plugins/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
   /parent
 
   artifactIdcamel-maven-plugin/artifactId

Modified: camel/trunk/tooling/maven/camel-package-maven-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/maven/camel-package-maven-plugin/pom.xml?rev=1465889r1=1465888r2=1465889view=diff
==
--- camel/trunk/tooling/maven/camel-package-maven-plugin/pom.xml (original)
+++ camel/trunk/tooling/maven/camel-package-maven-plugin/pom.xml Tue Apr  9 
05:43:16 2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdmaven-plugins/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
   /parent
 
   artifactIdcamel-package-maven-plugin/artifactId

Modified: camel/trunk/tooling/maven/guice-maven-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/maven/guice-maven-plugin/pom.xml?rev=1465889r1=1465888r2=1465889view=diff
==
--- camel/trunk/tooling/maven/guice-maven-plugin/pom.xml (original)
+++ camel/trunk/tooling/maven/guice-maven-plugin/pom.xml Tue Apr  9 05:43:16 
2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdmaven-plugins/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
   /parent
 
   artifactIdguice-maven-plugin/artifactId

Modified: camel/trunk/tooling/maven/maven-html-to-pdf/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/maven/maven-html-to-pdf/pom.xml?rev=1465889r1=1465888r2=1465889view=diff
==
--- camel/trunk/tooling/maven/maven-html-to-pdf/pom.xml (original)
+++ camel/trunk/tooling/maven/maven-html-to-pdf/pom.xml Tue Apr  9 05:43:16 2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdmaven-plugins/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
   /parent
 
   artifactIdmaven-html-to-pdf/artifactId

Modified: camel/trunk/tooling/maven/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/maven/pom.xml?rev=1465889r1=1465888r2=1465889view=diff
==
--- camel/trunk/tooling/maven/pom.xml (original)
+++ camel/trunk/tooling/maven/pom.xml Tue Apr  9 05:43:16 2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdtooling/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
   /parent
 
   artifactIdmaven-plugins/artifactId

Modified: camel/trunk/tooling/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/tooling/pom.xml?rev=1465889r1=1465888r2=1465889view=diff
==
--- camel/trunk/tooling/pom.xml (original)
+++ camel/trunk/tooling/pom.xml Tue Apr  9 05:43:16 2013
@@ -21,7 +21,7 @@
   parent
 groupIdorg.apache.camel/groupId
 artifactIdcamel-parent/artifactId
-version2.12-SNAPSHOT/version
+version2.11-SNAPSHOT/version
 relativePath../parent/relativePath
   /parent