[CONF] Apache Camel Spring

2013-03-28 Thread confluence







Spring
Page edited by Claus Ibsen


 Changes (2)
 




...
  
{include:how do i import routes from other xml files}   
h4. Test time exclusion.   
...
* [Xml Reference] * [Advanced configuration of CamelContext using Spring] 
* [How do i import routes from other xml files] 


Full Content

Spring Support

Apache Camel is designed to work nicely with the Spring Framework in a number of ways.

	Camel uses Spring Transactions as the default transaction handling in components like JMS and JPA
	Camel works with Spring 2 XML processing with the Xml Configuration
	Camel Spring XML Schema's is defined at Xml Reference
	Camel supports a powerful version of Spring Remoting which can use powerful routing between the client and server side along with using all of the available Components for the transport
	Camel provides powerful Bean Integration with any bean defined in a Spring ApplicationContext
	Camel integrates with various Spring helper classes; such as providing Type Converter support for Spring Resources etc
	Allows Spring to dependency inject Component instances or the CamelContext instance itself and auto-expose Spring beans as components and endpoints.
	Allows you to reuse the Spring Testing framework to simplify your unit and integration testing using Enterprise Integration Patterns and Camel's powerful Mock and Test endpoints



Using Spring to configure the CamelContext

You can configure a CamelContext inside any spring.xml using the CamelContextFactoryBean. This will automatically start the CamelContext along with any referenced Routes along any referenced Component and Endpoint instances.


	Adding Camel schema
	Configure Routes in two ways:
	
		Using Java Code
		Using Spring XML
	
	



Adding Camel Schema
For Camel 1.x you need to use the following namespace:


http://activemq.apache.org/camel/schema/spring


with the following schema location:


http://activemq.apache.org/camel/schema/spring/camel-spring.xsd


You need to add Camel to the schemaLocation declaration


http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd



So the XML file looks like this:


beans xmlns="http://www.springframework.org/schema/beans"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="
  http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
  http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"



Using camel: namespace
Or you can refer to camel XSD in the XML declaration:


xmlns:camel="http://camel.apache.org/schema/spring"


... so the declaration is:

beans xmlns="http://www.springframework.org/schema/beans"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xmlns:camel="http://camel.apache.org/schema/spring"
   xsi:schemaLocation="
  http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
  http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"


... and then use the camel: namespace prefix, and you can omit the inline namespace declaration:

camel:camelContext id="camel5"
  camel:packageorg.apache.camel.spring.example/camel:package
/camel:camelContext



Advanced configuration using Spring
See more details at Advanced configuration of CamelContext using Spring

Using Java Code

You can use Java Code to define your RouteBuilder implementations. These can be defined as beans in spring and then referenced in your camel context e.g.

  camelContext id="camel5" xmlns="http://camel.apache.org/schema/spring"
routeBuilder ref="myBuilder" /
  /camelContext
  
  bean id="myBuilder" class="org.apache.camel.spring.example.test1.MyRouteBuilder"/
  
/beans



Using package
Camel also provides a powerful feature that allows for the automatic discovery and initialization of routes in given packages. This is configured by adding tags to the camel context in your spring context definition, specifying the packages to be recursively searched for RouteBuilder implementations. To use this feature in 1.X, requires a package/package tag specifying a comma separated list of packages that should be searched e.g.


  camelContext xmlns="http://camel.apache.org/schema/spring"
packageorg.apache.camel.spring.config.scan.route/package
  /camelContext



Use caution when specifying the package name as org.apache.camel or a sub package of this. This causes Camel to search in its own packages for your routes which could cause problems.

Will ignore already instantiated classesThe package and packageScan will skip any classes which has already been 

svn commit: r856260 - in /websites/production/camel/content: cache/main.pageCache spring.html

2013-03-28 Thread buildbot
Author: buildbot
Date: Thu Mar 28 07:18:54 2013
New Revision: 856260

Log:
Production update by buildbot for camel

Modified:
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/spring.html

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

Modified: websites/production/camel/content/spring.html
==
--- websites/production/camel/content/spring.html (original)
+++ websites/production/camel/content/spring.html Thu Mar 28 07:18:54 2013
@@ -247,6 +247,70 @@ xmlns:camel=span class=code-quoteht
 pYou can also use the ANT style for inclusion and exclusion, as mentioned 
above in the ttlt;packageScangt;/tt documentation./p
 
 
+h2a shape=rect name=Spring-HowdoIimportroutesfromotherXMLfiles/aHow 
do I import routes from other XML files/h2
+pbAvailable as of Camel 2.3/b/p
+
+pWhen defining routes in Camel using a shape=rect 
href=xml-configuration.html title=Xml ConfigurationXml Configuration/a 
you may want to define some routes in other XML files. For example you may have 
many routes and it may help to maintain the application if some of the routes 
are in separate XML files. You may also want to store common and reusable 
routes in other XML files, which you can simply import when needed./p
+
+pIn bCamel 2.3/b it is now possible to define routes outside 
ttlt;camelContext/gt;/tt which you do in a new 
ttlt;routeContext/gt;/tt tag./p
+
+pFor example we could have a file named ttmyCoolRoutes.xml/tt which 
contains a couple of routes as shown:/p
+div class=code panel style=border-width: 1px;div class=codeHeader 
panelHeader style=border-bottom-width: 
1px;bmyCoolRoutes.xml/b/divdiv class=codeContent panelContent
+pre class=code-xmllt;beans xmlns=span 
class=code-quotehttp://www.springframework.org/schema/beans;/span
+   span class=code-keywordxmlns:xsi/span=span 
class=code-quotehttp://www.w3.org/2001/XMLSchema-instance;/span
+   xsi:schemaLocation=
+   http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd
+   http://camel.apache.org/schema/spring 
http://camel.apache.org/schema/spring/camel-spring.xsd
+gt;
+
+span class=code-tagspan class=code-commentlt;!-- this is an 
included XML file where we only the the routeContext --gt;/span/span
+span class=code-taglt;routeContext id=span 
class=code-quotemyCoolRoutes/span xmlns=span 
class=code-quotehttp://camel.apache.org/schema/spring;/spangt;/span
+span class=code-tagspan class=code-commentlt;!-- we can have 
a route --gt;/span/span
+span class=code-taglt;route id=span 
class=code-quotecool/spangt;/span
+span class=code-taglt;from uri=span 
class=code-quotedirect:start/span/gt;/span
+span class=code-taglt;to uri=span 
class=code-quotemock:result/span/gt;/span
+span class=code-taglt;/routegt;/span
+span class=code-tagspan class=code-commentlt;!-- and another 
route, you can have as many your like --gt;/span/span
+span class=code-taglt;route id=span 
class=code-quotebar/spangt;/span
+span class=code-taglt;from uri=span 
class=code-quotedirect:bar/span/gt;/span
+span class=code-taglt;to uri=span 
class=code-quotemock:bar/span/gt;/span
+span class=code-taglt;/routegt;/span
+span class=code-taglt;/routeContextgt;/span
+
+span class=code-taglt;/beansgt;/span
+/pre
+/div/div
+
+
+pThen in your XML file which contains the CamelContext you can use Spring to 
import the ttmyCoolRoute.xml/tt file.br clear=none
+And then inside ttlt;camelContext/gt;/tt you can refer to the 
ttlt;routeContext/gt;/tt by its id as shown below:/p
+div class=code panel style=border-width: 1px;div class=codeContent 
panelContent
+pre class=code-xmlspan class=code-tagspan 
class=code-commentlt;!-- import the routes from another XML file 
--gt;/span/span
+span class=code-taglt;import resource=span 
class=code-quotemyCoolRoutes.xml/span/gt;/span
+
+span class=code-taglt;camelContext xmlns=span 
class=code-quotehttp://camel.apache.org/schema/spring;/spangt;/span
+
+span class=code-tagspan class=code-commentlt;!-- refer to a given 
route to be used --gt;/span/span
+span class=code-taglt;routeContextRef ref=span 
class=code-quotemyCoolRoutes/span/gt;/span
+
+span class=code-tagspan class=code-commentlt;!-- we can of course 
still use routes inside camelContext --gt;/span/span
+span class=code-taglt;route id=span 
class=code-quoteinside/spangt;/span
+span class=code-taglt;from uri=span 
class=code-quotedirect:inside/span/gt;/span
+span class=code-taglt;to uri=span 
class=code-quotemock:inside/span/gt;/span
+span class=code-taglt;/routegt;/span
+span class=code-taglt;/camelContextgt;/span
+/pre
+/div/div
+
+pAlso notice that you can mix and match, having 

[CONF] Apache Camel Web Console

2013-03-28 Thread confluence







Web Console
Page edited by Claus Ibsen


 Changes (2)
 




h1. Web Console 
*Deprecated* 
 
{warning} The web console module from Apache Camel distribution is deprecated and will be removed from Camel 3.0 onwards. Instead we encourage users to look at some of the alternative console projects, which some are listed in the bottom of this page. {warning}  
The Camel Web Console is available from versions 2.0 onwards and provides a full access over a RESTful API to camel endpoints, messages and routes. {info:title=Camel 2.5 or better} 
...


Full Content

Web Console
Deprecated

The web console module from Apache Camel distribution is deprecated and will be removed from Camel 3.0 onwards.
Instead we encourage users to look at some of the alternative console projects, which some are listed in the bottom of this page.

The Camel Web Console is available from versions 2.0 onwards and provides a full access over a RESTful API to camel endpoints, messages and routes.
Camel 2.5 or betterThe Web Console from Camel 2.5 onwards requires JDK 1.6 as minimum to run.

Download and Run the Console

Download the console from Maven Central at http://repo2.maven.org/maven2/org/apache/camel/camel-web-standalone/

Then from the command line type



java -jar camel-web-standalone-2.8.0.jar 



You should now be able to point your browser at: http://localhost:8080/

Build and Run the Console 

First get the latest Source then from the command line type



cd components/camel-web
mvn jetty:run



Then point your web browse at http://localhost:8080/

You should be able to do things like


	browse the available endpoints
	browse the messages on an endpoint if it is a BrowsableEndpoint
	send a message to an endpoint
	create new endpoints



Running using Tomcat
Available as of Camel 2.10

You can also run the web console from an embedded Apache Tomcat using


cd components/camel-web
mvn tomcat7:run



Then point your web browse at http://localhost:8080/


Embedding web console in your own web application.

See these relevant discussions for more information (more information to come soon):

http://camel.465427.n5.nabble.com/Embedded-web-console-td478885.html

http://camel.465427.n5.nabble.com/example-app-to-embed-camel-web-console-td4512075.html

REST API

Camel comes with a full RESTful API for interacting with the Camel context, the available endpoints and routes. You can browse details of the running API via http://localhost:8080/api

The web application uses mostly the same URIs for the HTML representation of a resource (e.g. /endpoints) as the JSON and XML representations. To help rendering the different representations in your browser you can append .xml, .html, .json or even .dot to URLs. 

For example viewing these URLs are equivalent




 URL 
 Same as 


 http://localhost:8080/endpoints.xml 
 
http://localhost:8080/endpoints
 with Accept header of text/xml or application/xml


 http://localhost:8080/endpoints.json 
 
http://localhost:8080/endpoints
 with Accept header of application/json


 http://localhost:8080/routes.dot 
 
http://localhost:8080/routes
 with Accept header of text/vnd.graphviz 






For more details try viewing the API documentation in your local Camel instance

Route Viewing and Editing through Web Console
Web Console provide route viewing and editing functionality. You can view your route via http://localhost:8080/routes/yourRouteId and it default present the route in XML.
Camel uses JAXB to process the XML route definitions.

External Web Consoles

There are a number of external web consoles for Apache Camel in separate open source projects:




 External Project 
 Description 


 hawt.io 
 hawt.io is an open source HTML5 web application for visualising, managing and tracing Camel routes  endpoints, ActiveMQ brokers, JMX, OSGi and logging. 


 CamelWatch 
 A web app for monitoring Camel applications. 


 RHQ 
 RHQ is an open source operational monitoring tool which has support for Apache Camel (along with other Apache projects like Tomcat, httpd, ActiveMQ etc) 







Change Notification Preferences

View Online
|
View Changes
|
Add Comment









[CONF] Apache Camel Web Console

2013-03-28 Thread confluence







Web Console
Page edited by James Strachan


Comment:
used 'hawtio' as the name instead  


 Changes (1)
 




...
 || External Project || Description || 
| [hawt.io|http://hawt.io/] | hawt.io is an open source HTML5 web application for visualising, managing and tracing Camel routes  endpoints, ActiveMQ brokers, JMX, OSGi and logging. | 
| [CamelWatch|http://sksamuel.github.com/camelwatch/] | A web app for monitoring Camel applications. | | [RHQ|http://www.jboss.org/rhq] | RHQ is an open source operational monitoring tool which has support for Apache Camel (along with other Apache projects like Tomcat, httpd, ActiveMQ etc) | 


Full Content

Web Console
Deprecated

The web console module from Apache Camel distribution is deprecated and will be removed from Camel 3.0 onwards.
Instead we encourage users to look at some of the alternative console projects, which some are listed in the bottom of this page.

The Camel Web Console is available from versions 2.0 onwards and provides a full access over a RESTful API to camel endpoints, messages and routes.
Camel 2.5 or betterThe Web Console from Camel 2.5 onwards requires JDK 1.6 as minimum to run.

Download and Run the Console

Download the console from Maven Central at http://repo2.maven.org/maven2/org/apache/camel/camel-web-standalone/

Then from the command line type



java -jar camel-web-standalone-2.8.0.jar 



You should now be able to point your browser at: http://localhost:8080/

Build and Run the Console 

First get the latest Source then from the command line type



cd components/camel-web
mvn jetty:run



Then point your web browse at http://localhost:8080/

You should be able to do things like


	browse the available endpoints
	browse the messages on an endpoint if it is a BrowsableEndpoint
	send a message to an endpoint
	create new endpoints



Running using Tomcat
Available as of Camel 2.10

You can also run the web console from an embedded Apache Tomcat using


cd components/camel-web
mvn tomcat7:run



Then point your web browse at http://localhost:8080/


Embedding web console in your own web application.

See these relevant discussions for more information (more information to come soon):

http://camel.465427.n5.nabble.com/Embedded-web-console-td478885.html

http://camel.465427.n5.nabble.com/example-app-to-embed-camel-web-console-td4512075.html

REST API

Camel comes with a full RESTful API for interacting with the Camel context, the available endpoints and routes. You can browse details of the running API via http://localhost:8080/api

The web application uses mostly the same URIs for the HTML representation of a resource (e.g. /endpoints) as the JSON and XML representations. To help rendering the different representations in your browser you can append .xml, .html, .json or even .dot to URLs. 

For example viewing these URLs are equivalent




 URL 
 Same as 


 http://localhost:8080/endpoints.xml 
 
http://localhost:8080/endpoints
 with Accept header of text/xml or application/xml


 http://localhost:8080/endpoints.json 
 
http://localhost:8080/endpoints
 with Accept header of application/json


 http://localhost:8080/routes.dot 
 
http://localhost:8080/routes
 with Accept header of text/vnd.graphviz 






For more details try viewing the API documentation in your local Camel instance

Route Viewing and Editing through Web Console
Web Console provide route viewing and editing functionality. You can view your route via http://localhost:8080/routes/yourRouteId and it default present the route in XML.
Camel uses JAXB to process the XML route definitions.

External Web Consoles

There are a number of external web consoles for Apache Camel in separate open source projects:




 External Project 
 Description 


 hawtio 
 hawtio is an open source HTML5 web application for visualising, managing and tracing Camel routes  endpoints, ActiveMQ brokers, JMX, OSGi and logging. 


 CamelWatch 
 A web app for monitoring Camel applications. 


 RHQ 
 RHQ is an open source operational monitoring tool which has support for Apache Camel (along with other Apache projects like Tomcat, httpd, ActiveMQ etc) 







Change Notification Preferences

View Online
|
View Changes
|
Add Comment









svn commit: r856274 - in /websites/production/camel/content: cache/main.pageCache web-console.html

2013-03-28 Thread buildbot
Author: buildbot
Date: Thu Mar 28 08:19:13 2013
New Revision: 856274

Log:
Production update by buildbot for camel

Modified:
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/web-console.html

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

Modified: websites/production/camel/content/web-console.html
==
--- websites/production/camel/content/web-console.html (original)
+++ websites/production/camel/content/web-console.html Thu Mar 28 08:19:13 2013
@@ -76,6 +76,10 @@
 tr
 td valign=top width=100%
 div class=wiki-content maincontenth1a shape=rect 
name=WebConsole-WebConsole/aWeb Console/h1
+pbDeprecated/b/p
+
+div class=panelMacrotable class=warningMacrocolgroup span=1col 
span=1 width=24col span=1/colgrouptrtd colspan=1 rowspan=1 
valign=topimg align=middle 
src=https://cwiki.apache.org/confluence/images/icons/emoticons/forbidden.gif; 
width=16 height=16 alt= border=0/tdtd colspan=1 rowspan=1The 
web console module from Apache Camel distribution is deprecated and will be 
removed from Camel 3.0 onwards.br clear=none
+Instead we encourage users to look at some of the alternative console 
projects, which some are listed in the bottom of this 
page./td/tr/table/div
 
 pThe Camel Web Console is available from versions 2.0 onwards and provides a 
full access over a RESTful API to camel endpoints, messages and routes./p
 div class=panelMacrotable class=infoMacrocolgroup span=1col 
span=1 width=24col span=1/colgrouptrtd colspan=1 rowspan=1 
valign=topimg align=middle 
src=https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif;
 width=16 height=16 alt= border=0/tdtd colspan=1 
rowspan=1bCamel 2.5 or better/bbr clear=noneThe a shape=rect 
href=web-console.html title=Web ConsoleWeb Console/a from Camel 2.5 
onwards requires JDK 1.6 as minimum to run./td/tr/table/div
@@ -165,7 +169,7 @@ Camel uses JAXB to process the XML route
 pThere are a number of external web consoles for Apache Camel in separate 
open source projects:/p
 
 div class=table-wrap
-table class=confluenceTabletbodytrth colspan=1 rowspan=1 
class=confluenceTh External Project /thth colspan=1 rowspan=1 
class=confluenceTh Description /th/trtrtd colspan=1 rowspan=1 
class=confluenceTd a shape=rect class=external-link 
href=http://hawt.io/; rel=nofollowhawt.io/a /tdtd colspan=1 
rowspan=1 class=confluenceTd hawt.io is an open source HTML5 web 
application for visualising, managing and tracing Camel routes amp; endpoints, 
ActiveMQ brokers, JMX, OSGi and logging. /td/trtrtd colspan=1 
rowspan=1 class=confluenceTd a shape=rect class=external-link 
href=http://sksamuel.github.com/camelwatch/; rel=nofollowCamelWatch/a 
/tdtd colspan=1 rowspan=1 class=confluenceTd A web app for monitoring 
Camel applications. /td/trtrtd colspan=1 rowspan=1 
class=confluenceTd a shape=rect class=external-link 
href=http://www.jboss.org/rhq; rel=nofollowRHQ/a /tdtd colsp
 an=1 rowspan=1 class=confluenceTd RHQ is an open source operational 
monitoring tool which has support for Apache Camel (along with other Apache 
projects like Tomcat, httpd, ActiveMQ etc) /td/tr/tbody/table
+table class=confluenceTabletbodytrth colspan=1 rowspan=1 
class=confluenceTh External Project /thth colspan=1 rowspan=1 
class=confluenceTh Description /th/trtrtd colspan=1 rowspan=1 
class=confluenceTd a shape=rect class=external-link 
href=http://hawt.io/; rel=nofollowhawtio/a /tdtd colspan=1 
rowspan=1 class=confluenceTd hawtio is an open source HTML5 web 
application for visualising, managing and tracing Camel routes amp; endpoints, 
ActiveMQ brokers, JMX, OSGi and logging. /td/trtrtd colspan=1 
rowspan=1 class=confluenceTd a shape=rect class=external-link 
href=http://sksamuel.github.com/camelwatch/; rel=nofollowCamelWatch/a 
/tdtd colspan=1 rowspan=1 class=confluenceTd A web app for monitoring 
Camel applications. /td/trtrtd colspan=1 rowspan=1 
class=confluenceTd a shape=rect class=external-link 
href=http://www.jboss.org/rhq; rel=nofollowRHQ/a /tdtd colspan
 =1 rowspan=1 class=confluenceTd RHQ is an open source operational 
monitoring tool which has support for Apache Camel (along with other Apache 
projects like Tomcat, httpd, ActiveMQ etc) /td/tr/tbody/table
 /div
 /div
 /td




[CONF] Apache Camel Release Guide

2013-03-28 Thread confluence







Release Guide
Page edited by Christian Mueller


 Changes (1)
 




...
/profile  
/profiles 
... /settings 
...


Full Content

How to create and announce a Camel release.

This release guide is based on the General guide for releasing Maven-based projects at Apache, so be sure to check it out before continuing and meet all prerequisites. 

Note: Make sure that you are using JDK 6.

Prerequisites

To prepare or perform a release you MUST BE at least an Apache Camel committer.

	The artifacts for each and every release must be SIGNED; your public key should be added to the KEYS file
	Your public key must also be cross-signed by other Apache committers (this can be done at key signing parties at ApacheCon for instance)
	Make sure you have the correct maven configuration in ~/.m2/settings.xml
	Use Maven 2.2.1+ (Maven 2.1.x is known to produce wrong gpg pom signatures - MGPG-14)
	From Camel 2.10 onwards we will require to use Maven 3.0.2+
	From Camel 2.11 onwards we will require to use Maven 3.0.4+
	You may want to get familiar with the release settings in the parent apache POM.
	Make sure you have installed Prince to be able to generate the Camel manual
	Add your Prince installation bin directory to your PATH variable:


PATH=$PATH:/usr/local/lib/prince/bin





Maven 2 Setup

Before you deploy anything to the maven repository using Maven 2, you should configure your /.m2/settings.xml file so that the file permissions of the deployed artifacts are group writable.  If you do not do this, other developers will not able to overwrite your SNAPSHOT releases with newer versions. The settings follow the guidelines  used by the Maven project. Please pay particular attention to the password encryption recommendations.



settings
  ...
  servers
!-- Per http://maven.apache.org/developers/committer-settings.html --

!-- To publish a snapshot of some part of Maven --
server
  idapache.snapshots.https/id
  username !-- YOUR APACHE LDAP USERNAME -- /username
  password !-- YOUR APACHE LDAP PASSWORD -- /password
/server
!-- To publish a website of some part of Maven --
server
  idapache.website/id
  username !-- YOUR APACHE LDAP USERNAME -- /username
  filePermissions664/filePermissions
  directoryPermissions775/directoryPermissions
/server
!-- To stage a release of some part of Maven --
server
  idapache.releases.https/id
  username !-- YOUR APACHE LDAP USERNAME -- /username
  password !-- YOUR APACHE LDAP PASSWORD -- /password
/server
!-- To stage a website of some part of Maven --
server
  idstagingSite/id !-- must match hard-coded repository identifier in site:stage-deploy --
  username !-- YOUR APACHE LDAP USERNAME -- /username
  filePermissions664/filePermissions
  directoryPermissions775/directoryPermissions
/server

  /servers
  ...
  profiles
profile
  idapache-release/id
  properties
gpg.useagentfalse/gpg.useagent
gpg.passphrase!-- YOUR GPG PASSPHRASE --/gpg.passphrase
testfalse/test
  /properties
/profile

  /profiles
...
/settings



It is also essential that you configure your umask to 2 on people.apache.org for non-interactive login.  You can do that by including the snipped below in your .profile.


umask 002




Creating the Camel Release

The release plugin will prompt for a release version, tag and next release version. Use a three digit release version of the form: 2.x.x and for the tag use a string of the form: camel-2.x.x. The next version string should use the two digit from: 2.x-SNAPSHOT as this can be consistent for future SNAPSHOT releases.


	Grab the latest source from SVN


svn co https://svn.apache.org/repos/asf/camel/trunk camel
cd camel


	Verify headers with rat


mvn -e org.apache.rat:apache-rat-plugin:check
grep -e ' !?' target/rat.txt -- will show any files without licenses


	Do a release dry run to check for problems


mvn release:prepare -DdryRun=true


Check that you are happy with the results. The poms for the proposed tags will be in pom.xml.tag. Check also the generated signature files:


cmueller$ gpg camel-core/target/camel-core-2.7.5-SNAPSHOT.jar.asc 
gpg: Signature made Tue Jan 10 20:50:27 2012 CET using RSA key ID 2A239C2C
gpg: Good signature from "Christian Mueller (CODE SIGNING KEY) cmuel...@apache.org"


When you like the results, clean up:


mvn release:clean


	Prepare the release


mvn release:prepare


This will create the tag in svn and leave various stuff around locally to direct the perform phase.
	Perform the release to the staging repo


mvn release:perform


	Close the staging repository
Quote from the Maven release guide for Apache projects
 Login to 

svn commit: r1461997 - in /camel/trunk: apache-camel/ apache-camel/src/main/descriptors/ components/ components/camel-spring-neo4j/ components/camel-spring-neo4j/src/main/java/org/apache/camel/compone

2013-03-28 Thread cmueller
Author: cmueller
Date: Thu Mar 28 08:57:46 2013
New Revision: 1461997

URL: http://svn.apache.org/r1461997
Log:
Revert CAMEL-5483: Component for neo4j - because of possible license issue

Removed:
camel/trunk/components/camel-spring-neo4j/pom.xml

camel/trunk/components/camel-spring-neo4j/src/main/java/org/apache/camel/component/neo4j/BasicRelationship.java

camel/trunk/components/camel-spring-neo4j/src/main/java/org/apache/camel/component/neo4j/Neo4jComponent.java

camel/trunk/components/camel-spring-neo4j/src/main/java/org/apache/camel/component/neo4j/Neo4jEndpoint.java

camel/trunk/components/camel-spring-neo4j/src/main/java/org/apache/camel/component/neo4j/Neo4jException.java

camel/trunk/components/camel-spring-neo4j/src/main/java/org/apache/camel/component/neo4j/Neo4jOperation.java

camel/trunk/components/camel-spring-neo4j/src/main/java/org/apache/camel/component/neo4j/Neo4jProducer.java

camel/trunk/components/camel-spring-neo4j/src/main/java/org/apache/camel/component/neo4j/SpringDataRelationship.java

camel/trunk/components/camel-spring-neo4j/src/main/resources/META-INF/LICENSE.txt

camel/trunk/components/camel-spring-neo4j/src/main/resources/META-INF/NOTICE.txt

camel/trunk/components/camel-spring-neo4j/src/main/resources/META-INF/services/org/apache/camel/component/spring-neo4j

camel/trunk/components/camel-spring-neo4j/src/test/java/org/apache/camel/component/neo4j/Neo4jComponentTest.java

camel/trunk/components/camel-spring-neo4j/src/test/java/org/apache/camel/component/neo4j/Neo4jEndpointTest.java

camel/trunk/components/camel-spring-neo4j/src/test/java/org/apache/camel/component/neo4j/Neo4jProducerTest.java

camel/trunk/components/camel-spring-neo4j/src/test/java/org/apache/camel/component/neo4j/RestNeo4jProducerCreateNodeIntegrationTest.java

camel/trunk/components/camel-spring-neo4j/src/test/java/org/apache/camel/component/neo4j/RestNeo4jProducerCreateRelationshipIntegrationTest.java

camel/trunk/components/camel-spring-neo4j/src/test/resources/log4j.properties

camel/trunk/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelSpringNeo4jTest.java
Modified:
camel/trunk/apache-camel/pom.xml
camel/trunk/apache-camel/src/main/descriptors/common-bin.xml
camel/trunk/components/pom.xml
camel/trunk/parent/pom.xml
camel/trunk/platforms/karaf/features/src/main/resources/features.xml

Modified: camel/trunk/apache-camel/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/apache-camel/pom.xml?rev=1461997r1=1461996r2=1461997view=diff
==
--- camel/trunk/apache-camel/pom.xml (original)
+++ camel/trunk/apache-camel/pom.xml Thu Mar 28 08:57:46 2013
@@ -496,10 +496,6 @@
 /dependency
 dependency
   groupIdorg.apache.camel/groupId
-  artifactIdcamel-spring-neo4j/artifactId
-/dependency
-dependency
-  groupIdorg.apache.camel/groupId
   artifactIdcamel-spring-redis/artifactId
 /dependency
 dependency

Modified: camel/trunk/apache-camel/src/main/descriptors/common-bin.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/apache-camel/src/main/descriptors/common-bin.xml?rev=1461997r1=1461996r2=1461997view=diff
==
--- camel/trunk/apache-camel/src/main/descriptors/common-bin.xml (original)
+++ camel/trunk/apache-camel/src/main/descriptors/common-bin.xml Thu Mar 28 
08:57:46 2013
@@ -136,7 +136,6 @@
 includeorg.apache.camel:camel-spring-integration/include
 includeorg.apache.camel:camel-spring-javaconfig/include
 includeorg.apache.camel:camel-spring-ldap/include
-includeorg.apache.camel:camel-spring-neo4j/include
 includeorg.apache.camel:camel-spring-redis/include
 includeorg.apache.camel:camel-spring-security/include
 includeorg.apache.camel:camel-spring-ws/include

Modified: camel/trunk/components/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/pom.xml?rev=1461997r1=1461996r2=1461997view=diff
==
--- camel/trunk/components/pom.xml (original)
+++ camel/trunk/components/pom.xml Thu Mar 28 08:57:46 2013
@@ -154,7 +154,6 @@
 modulecamel-spring-javaconfig/module
 modulecamel-spring-integration/module
 modulecamel-spring-ldap/module
-modulecamel-spring-neo4j/module
 modulecamel-spring-redis/module
 modulecamel-spring-security/module
 modulecamel-spring-ws/module

Modified: camel/trunk/parent/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?rev=1461997r1=1461996r2=1461997view=diff
==
--- camel/trunk/parent/pom.xml (original)
+++ camel/trunk/parent/pom.xml Thu Mar 28 08:57:46 2013
@@ -271,8 +271,6 @@
 

[CONF] Apache Camel Camel 2.11.0 Release

2013-03-28 Thread confluence







Camel 2.11.0 Release
Page edited by Christian Mueller


 Changes (1)
 




...
* {{[camel-sjms|sjms]}} - for Springless JMS integration * {{[camel-spring-ldap|Spring LDAP]}} - for LDAP integration using the Spring LDAP template offering more functionality than existing [LDAP] component. 
* {{[camel-spring-neo4j|Spring Neo4j]}} - for talking to Neo4j server from Camel. 
* {{[camel-spring-redis|Spring Redis]}} - for talking to Redis key-value store.  * {{[camel-urlrewrite|UrlRewrite]}} - for bridging http endpoints and using the [UrlRewriteFilter|http://code.google.com/p/urlrewritefilter/] project to control url mappings. 
...


Full Content

Camel 2.11.0 release (currently in progress)




New and Noteworthy

Welcome to the 2.11.0 release with approximately XXX issues resolved - including new features, improvements, and bug fixes, such as: 


	Camel RX provides a typesafe and composable API for working with asynchronous events from camel endpoints using Reactive Extensions using the RxJava library
	Added Binding support, so it is easy to combine things like a Data Format to an Endpoint for easier composition of routes.
	Added support for SOAP 1.2 in SOAP data format.
	Cache operation for add/update now supports expiry headers to control time to live/idle/eternal.
	Added allowNullBody option to JMS to configure whether sending messages with no body is allowed.
	Added connectOnStartup option to HDFS to allow to connect on demand, to avoid having Hadoop block for long time connecting to the HDFS cluster, as it has a hardcoded 15 minute retry mechanism.
	Added support for daily and weekly trends to Twitter component.
	The Camel Maven Archetypes now generates projects without any license headers.
	Added rejectOld option to the Resequencer to prevent out of order messages from being delivered after capacity/timeout events occur
	Further optimized XPath under concurrent load, and as well ensured resources are cleaned up eagerly
	Added options allowNullBody and readLockMinLength to the File and FTP components.
	Made changed read lock strategy on FTP go faster (eg when the FTP server has a lot of files in the directory) if you enable the fastExistsCheck=true option as well. Notice that some FTP server may not support this.
	HL7 moves to HAPI 2.0 and supports using a dedicated Parser instance in the HL7 MLLP codec and DataFormat. Added "Terser" language and _expression_ to be able to extract fields from a parsed message. HL7 now uses Apache Mina 2.x.
	Add an option HttpMethodRestrict to restrict HTTP method in Jetty and SERVLET
	Add support for selection of DirectVM consumers by using ant-like path _expression_.
	The POJO Producing, and POJO Consuming with @Consume, @Produce, @EndpointInject now supports a new {{property} attribute to get the endpoint configuration from a bean property (eg using a getter method); this allows you to configure this on the bean using conventional bean configuration.
	Testing with camel-test-blueprint on Windows no longer tries to cleanup after testing taking up 5 seconds and logging WARNs.
	The File, and FTP components now support fileExist=Move option to move any existing files before writing a file.
	Added option loadStatisticsEnabled on Camel JMX to allow to disable load statistics if not needed (avoids a background thread being in use, to calculate the load stats).
	Enabled "lazy connections" for XMPP providers via the testConnectionOnStartup option
	Added a connection monitor to detect and fix dropped XMPP consumer connections at configurable connectionPollDelay intervals
	Added an org.apache.camel.builder.ExchangeBuilder to build the Exchange using a builder pattern.
	The Camel Run Maven Goal can now run CDI applications.
	The Camel CDI component has improved a lot.
	Added option allowRedeliveryWhileStopping to error handlers to control if redelivery is allowed during stopping/shutting down Camel or the route(s). Turning this option false allows to stop quicker by rejecting redelivery attempts.
	Added support for specifying user info in Camel Endpoint urls, which contains the @ sign; now the @ sign can be given as is; without being encoded to %40.
	Added robust connection support for JMX. Optional testConnectionOnStartup allows a JMX consumer to attach to a JMX server that becomes available after the JMX endpoint starts; reconnectOnConnectionFailure enables re-connection of failed JMX connections.
	JAXB and SOAP data format now supports controlling namespace prefix mappings when marshalling (eg to avoid prefixes such as ns2, ns3, ns4 etc.)
	Added support for using raw uris when Components create Endpoints. This gives component writers full power in case their component has special syntax/notation for endpoint uri 

[CONF] Apache Camel Component List External

2013-03-28 Thread confluence







Component List External
Page edited by Christian Mueller


 Changes (1)
 




...
unmarshal(edi) {code} | GPL | For working with EDI parsing using the [Smooks library|http://milyn.codehaus.org/Smooks]. This component is *deprecated* as Smooks now provides [Camel integration out of the box|http://www.smooks.org/mediawiki/index.php?title=V1.5:Smooks_v1.5_User_Guide#Apache_Camel_Integration]  | 
| [Spring Neo4j] / camel-spring-neo4j in [camel-extra|http://code.google.com/p/camel-extra/] {code:xml} spring-neo4j:http://hostname[:port]/database[?options] {code} | to bee clarified | Component for producing to Neo4j datastore using the [Spring Data Neo4j|http://www.springsource.org/spring-data/neo4j] library | 
| [ZeroMQ] / camel-zeromq in [camel-extra|http://code.google.com/p/camel-extra/].  {code:xml} 
...


Full Content




 Component / ArtifactId / URI 
 License 
 Description 


 ActiveMQ / activemq-camel


activemq:[topic:]destinationName

 
 Apache 
 For JMS Messaging with Apache ActiveMQ 


 ActiveMQ Journal / activemq-core


activemq.journal:directory-on-filesystem

 
 Apache 
 Uses ActiveMQ's fast disk journaling implementation to store message bodies in a rolling log file 


 Activiti / activiti-camel 


activiti:camelProcess:serviceTask

 
 Apache 
 For working with Activiti, a light-weight workflow and Business Process Management (BPM) platform which supports BPMN 2 


 Db4o / camel-db4o in camel-extra


db4o://className

 
 GPL 
 For using a db4o datastore as a queue via the db4o library 


 Esper / camel-esper in camel-extra


esper:name

 
 GPL 
 Working with the Esper Library for Event Stream Processing 


 Hibernate / camel-hibernate in camel-extra


hibernate://entityName

 
 GPL 
 For using a database as a queue via the Hibernate library 


 JGroups / camel-jgroups in camel-extra


jgroups://clusterName

 
 LGPL 
 The jgroups: component provides exchange of messages between Camel infrastructure and JGroups clusters. 


 NMR / servicemix-nmr


nmr://serviceName

 
 Apache 
 Integration with the Normalized Message Router BUS in ServiceMix 4.x 


 Scalate / scalate-camel 

 
scalate:templateName 

 
 Apache 
 Uses the given Scalate template to transform the message 


 Smooks / camel-smooks in camel-extra. 


unmarshal(edi)

 
 GPL 
 For working with EDI parsing using the Smooks library. This component is deprecated as Smooks now provides Camel integration out of the box  


 Spring Neo4j / camel-spring-neo4j in camel-extra


spring-neo4j:http://hostname[:port]/database[?options]

 
 to bee clarified 
 Component for producing to Neo4j datastore using the Spring Data Neo4j library 


 ZeroMQ / camel-zeromq in camel-extra. 


zeromq:(tcp|ipc)://hostname:port

 
 LGPL 
 The ZeroMQ component allows you to consumer or produce messages using ZeroMQ. 







Change Notification Preferences

View Online
|
View Changes
|
Add Comment









[CONF] Apache Camel Spring Neo4j

2013-03-28 Thread confluence







 Spring Neo4j
 Page removed by Christian Mueller

 
 
 Camel Spring Neo4j component

Available as of Camel 2.11

The neo4j: component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library.


	As a producer, can create or remove nodes, and create or remove relationships.
	Can support as many endpoints as required, eg for multiple databases across multiple instances.
	Headers set for node id (for created nodes), relationship id (for created relationships)



Maven users will need to add the following dependency to their pom.xml for this component:



dependency
groupIdorg.apache.camel/groupId
artifactIdcamel-spring-neo4j/artifactId
versionx.x.x/version
!-- use the same version as your Camel core version --
/dependency



URI format



spring-neo4j:http://hostname[:port]/database?options



Where the URL is the location of the of running neo4j rest server.

Headers

The following headers are set on exchanges during message transport.



 Property 
 Value 


 Neo4jOperation 
 One of the Neo4jOperation enum values `CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` which determines which action to perform 


 Neo4jNodeId 
 the id of the created node 


 Neo4jRelationshipId 
 the id of the created relationship 





The producer will set the headers for downstream processors once the operation has taken place. Any ID headers set prior to the producer are ignored.

Operations

The neo4j component looks for the Neo4jOperation header to determine what kind of entity to create, which is one of the following enum types

`CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP,	REMOVE_RELATIONSHIP`

The body of the message is used to determine the node or relationship to manipulate. The following body types are supported:

For CREATE_NODE:


	null body - create default node
	Map body - create node with the properties set from the map



For REMOVE_NODE:


	Long or Integer - remove node using the body as the id
	neo4j Node instance - remove the node specified by that instance



For CREATE_RELATIONSHIP:


	SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities.
	org.apache.camel.component.neo4j.BasicRelationship - create relationship specified by the neo4j node types



For REMOVE_RELATIONSHIP:


	Long or Integer - remove relationship using the body as the id
	SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities.
	org.apache.camel.component.neo4j.BasicRelationship - remove relationship specified by the neo4j node types



Samples

If you wanted to insert a new empty node every 1 seconds



from("timer://foo?period=1000").to("spring-neo4j:http://localhost:7474/data")



If you wanted to delete a specific node specified by a filename, eg a file of 100 would delete node 100.



from("file:/var/data").process(new Processor() {
	@Override
	public void process(Exchange exchange) throws Exception {
		exchange.getIn().setBody(exchange.getIn().getHeader("CamelFileName"));
	}
}).to("spring-neo4j:http://localhost:7474/data")


 








svn commit: r856291 - in /websites/production/camel/content: book-architecture.html camel-2110-release.html component-list.html components.html release-guide.html spring-neo4j.html transport.html uris

2013-03-28 Thread buildbot
Author: buildbot
Date: Thu Mar 28 09:24:54 2013
New Revision: 856291

Log:
Production update by buildbot for camel

Removed:
websites/production/camel/content/spring-neo4j.html
Modified:
websites/production/camel/content/book-architecture.html
websites/production/camel/content/camel-2110-release.html
websites/production/camel/content/component-list.html
websites/production/camel/content/components.html
websites/production/camel/content/release-guide.html
websites/production/camel/content/transport.html
websites/production/camel/content/uris.html

Modified: websites/production/camel/content/book-architecture.html
==
--- websites/production/camel/content/book-architecture.html (original)
+++ websites/production/camel/content/book-architecture.html Thu Mar 28 
09:24:54 2013
@@ -649,12 +649,7 @@ spring-integration:defaultChannelName
 pre class=code-xml
 spring-ldap:spring-ldap-template-bean?options
 /pre
-/div/div /tdtd colspan=1 rowspan=1 class=confluenceTd Camel 
wrapper for a shape=rect class=external-link 
href=http://www.springsource.org/ldap; rel=nofollowSpring LDAP/a 
/td/trtrtd colspan=1 rowspan=1 class=confluenceTd a shape=rect 
href=spring-neo4j.html title=Spring Neo4jSpring Neo4j/a / 
camel-spring-neo4j
-div class=code panel style=border-width: 1px;div class=codeContent 
panelContent
-pre class=code-xml
-spring-neo4j:http://hostname[:port]/database[?options]
-/pre
-/div/div /tdtd colspan=1 rowspan=1 class=confluenceTd Component 
for producing to Neo4j datastore using the a shape=rect 
class=external-link href=http://www.springsource.org/spring-data/neo4j; 
rel=nofollowSpring Data Neo4j/a library /td/trtrtd colspan=1 
rowspan=1 class=confluenceTd a shape=rect href=spring-redis.html 
title=Spring RedisSpring Redis/a / camel-spring-redis
+/div/div /tdtd colspan=1 rowspan=1 class=confluenceTd Camel 
wrapper for a shape=rect class=external-link 
href=http://www.springsource.org/ldap; rel=nofollowSpring LDAP/a 
/td/trtrtd colspan=1 rowspan=1 class=confluenceTd a shape=rect 
href=spring-redis.html title=Spring RedisSpring Redis/a / 
camel-spring-redis
 div class=code panel style=border-width: 1px;div class=codeContent 
panelContent
 pre class=code-xml
 spring-redis:restletUrl[?options]

Modified: websites/production/camel/content/camel-2110-release.html
==
--- websites/production/camel/content/camel-2110-release.html (original)
+++ websites/production/camel/content/camel-2110-release.html Thu Mar 28 
09:24:54 2013
@@ -101,7 +101,7 @@
 
 h3a shape=rect name=Camel2.11.0Release-NewComponents/aNew a 
shape=rect href=components.html title=ComponentsComponents/a/h3
 
-ullia shape=rect href=controlbus-component.html title=ControlBus 
ComponentControlBus Component/a - for easy management using a component 
supporting the a shape=rect href=controlbus.html 
title=ControlBusControlBus/a EIP/lilitta shape=rect 
href=aws-cw.html title=AWS-CWcamel-aws/a/tt - New component to a 
shape=rect href=aws.html title=AWSAWS/a for sending metrics to Amazon 
CloudWatch from Camel./lilitta shape=rect href=cmis.html 
title=CMIScamel-cmis/a/tt - for integration of CMIS compliant content 
repositories/lilitta shape=rect href=couchdb.html 
title=CouchDBcamel-couchdb/a/tt - for integration with a shape=rect 
class=external-link href=http://couchdb.apache.org/;Apache 
CouchDB/a/lilitta shape=rect href=elasticsearch.html 
title=ElasticSearchcamel-elasticsearch/a/tt - for a shape=rect 
class=external-link href=http://elasticsearch.org; rel=nofollowElasticSe
 arch/a integration/lilitta shape=rect href=rx.html 
title=RXcamel-rx/a/tt - provides a typesafe and composable API for 
working with asynchronous events from camel endpoints using a shape=rect 
class=external-link href=https://rx.codeplex.com/; rel=nofollowReactive 
Extensions/a using the a shape=rect class=external-link 
href=https://github.com/Netflix/RxJava/wiki; rel=nofollowRxJava 
library/a/lilitta shape=rect href=servletlistener-component.html 
title=ServletListener Componentcamel-servletlistener/a/tt - for 
bootstrapping Camel in web applications, without the need for Spring Framework 
etc./lilitta shape=rect href=sjms.html 
title=SJMScamel-sjms/a/tt - for Springless JMS 
integration/lilitta shape=rect href=spring-ldap.html title=Spring 
LDAPcamel-spring-ldap/a/tt - for LDAP integration using the Spring LDAP 
template offering more functionality than existing a shape=rect href=lda
 p.html title=LDAPLDAP/a component./lilitta shape=rect 
href=spring-neo4j.html title=Spring Neo4jcamel-spring-neo4j/a/tt - for 
talking to Neo4j server from Camel./lilitta shape=rect 
href=spring-redis.html title=Spring Rediscamel-spring-redis/a/tt - for 
talking to Redis key-value store./lilitta shape=rect 
href=urlrewrite.html title=UrlRewritecamel-urlrewrite/a/tt - for 
bridging http endpoints and using the a 

svn commit: r1462005 - in /camel/trunk: parent/pom.xml pom.xml

2013-03-28 Thread cmueller
Author: cmueller
Date: Thu Mar 28 09:31:14 2013
New Revision: 1462005

URL: http://svn.apache.org/r1462005
Log:
moved the apache-rat-plugin configuration to our root pom. Otherwise our 
exclusions do not work.

Modified:
camel/trunk/parent/pom.xml
camel/trunk/pom.xml

Modified: camel/trunk/parent/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?rev=1462005r1=1462004r2=1462005view=diff
==
--- camel/trunk/parent/pom.xml (original)
+++ camel/trunk/parent/pom.xml Thu Mar 28 09:31:14 2013
@@ -2281,11 +2281,6 @@
   version${maven-surefire-report-plugin-version}/version
 /plugin
 plugin
-  groupIdorg.apache.rat/groupId
-  artifactIdapache-rat-plugin/artifactId
-  version0.8/version
-/plugin
-plugin
   groupIdorg.apache.servicemix.tooling/groupId
   artifactIddepends-maven-plugin/artifactId
   version1.2/version
@@ -2479,38 +2474,6 @@
   /execution
 /executions
   /plugin
-  plugin
-groupIdorg.apache.rat/groupId
-artifactIdapache-rat-plugin/artifactId
-configuration
-  excludeSubProjectsfalse/excludeSubProjects
-  excludes
-exclude**/README/exclude
-exclude**/README.txt/exclude
-exclude**/resources/**/*.xsd/exclude
-exclude**/webapp/js/**/*/exclude
-exclude**/test/resources/**/*/exclude
-exclude**/test/data*/**/*/exclude
-exclude.gitignore/exclude
-exclude.git/**/*/exclude
-!-- tooling/camel-manual/src/styles/print.css use a different 
-  license --
-exclude**/src/styles/print.css/exclude
-!-- cxf does not handle comments here --
-
excludes**/src/main/resources/META-INF/cxf/cxf.extension/excludes
-
excludes**/src/main/resources/META-INF/cxf/bus-extensions.txt/excludes
-!-- generated files --
-exclude**/target/**/*/exclude
-exclude**/eclipse-classes/**/*/exclude
-exclude**/.*/exclude
-exclude**/.settings/**/*/exclude
-exclude**/*.iml/exclude
-exclude.idea/**/*/exclude
-exclude**/avro/**/*.avpr/exclude
-exclude**/OSGI-INF/bundle.info/exclude
-  /excludes
-/configuration
-  /plugin
 /plugins
   /build
 

Modified: camel/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/pom.xml?rev=1462005r1=1462004r2=1462005view=diff
==
--- camel/trunk/pom.xml (original)
+++ camel/trunk/pom.xml Thu Mar 28 09:31:14 2013
@@ -160,6 +160,40 @@
 downloadJavadocsfalse/downloadJavadocs
   /configuration
 /plugin
+
+  plugin
+groupIdorg.apache.rat/groupId
+artifactIdapache-rat-plugin/artifactId
+version0.8/version
+configuration
+  excludeSubProjectsfalse/excludeSubProjects
+  excludes
+exclude**/README/exclude
+exclude**/README.txt/exclude
+exclude**/resources/**/*.xsd/exclude
+exclude**/webapp/js/**/*/exclude
+exclude**/test/resources/**/*/exclude
+exclude**/test/data*/**/*/exclude
+exclude.gitignore/exclude
+exclude.git/**/*/exclude
+!-- tooling/camel-manual/src/styles/print.css use a different 
+  license --
+exclude**/src/styles/print.css/exclude
+!-- cxf does not handle comments here --
+
excludes**/src/main/resources/META-INF/cxf/cxf.extension/excludes
+
excludes**/src/main/resources/META-INF/cxf/bus-extensions.txt/excludes
+!-- generated files --
+exclude**/target/**/*/exclude
+exclude**/eclipse-classes/**/*/exclude
+exclude**/.*/exclude
+exclude**/.settings/**/*/exclude
+exclude**/*.iml/exclude
+exclude.idea/**/*/exclude
+exclude**/avro/**/*.avpr/exclude
+exclude**/OSGI-INF/bundle.info/exclude
+  /excludes
+/configuration
+  /plugin
   /plugins
 /pluginManagement
   /build




svn commit: r856298 - in /websites/production/camel/content: book-architecture.html book-in-one-page.html cache/main.pageCache component-list-external.html components.html transport.html uris.html

2013-03-28 Thread buildbot
Author: buildbot
Date: Thu Mar 28 10:24:36 2013
New Revision: 856298

Log:
Production update by buildbot for camel

Modified:
websites/production/camel/content/book-architecture.html
websites/production/camel/content/book-in-one-page.html
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/component-list-external.html
websites/production/camel/content/components.html
websites/production/camel/content/transport.html
websites/production/camel/content/uris.html

Modified: websites/production/camel/content/book-architecture.html
==
--- websites/production/camel/content/book-architecture.html (original)
+++ websites/production/camel/content/book-architecture.html Thu Mar 28 
10:24:36 2013
@@ -814,7 +814,12 @@ scalate:templateName 
 pre class=code-xml
 unmarshal(edi)
 /pre
-/div/div /tdtd colspan=1 rowspan=1 class=confluenceTd GPL 
/tdtd colspan=1 rowspan=1 class=confluenceTd For working with EDI 
parsing using the a shape=rect class=external-link 
href=http://milyn.codehaus.org/Smooks; rel=nofollowSmooks library/a. This 
component is bdeprecated/b as Smooks now provides a shape=rect 
class=external-link 
href=http://www.smooks.org/mediawiki/index.php?title=V1.5:Smooks_v1.5_User_Guide#Apache_Camel_Integration;
 rel=nofollowCamel integration out of the box/a  /td/trtrtd 
colspan=1 rowspan=1 class=confluenceTd a shape=rect 
href=zeromq.html title=ZeroMQZeroMQ/a / camel-zeromq in a shape=rect 
class=external-link href=http://code.google.com/p/camel-extra/; 
rel=nofollowcamel-extra/a. 
+/div/div /tdtd colspan=1 rowspan=1 class=confluenceTd GPL 
/tdtd colspan=1 rowspan=1 class=confluenceTd For working with EDI 
parsing using the a shape=rect class=external-link 
href=http://milyn.codehaus.org/Smooks; rel=nofollowSmooks library/a. This 
component is bdeprecated/b as Smooks now provides a shape=rect 
class=external-link 
href=http://www.smooks.org/mediawiki/index.php?title=V1.5:Smooks_v1.5_User_Guide#Apache_Camel_Integration;
 rel=nofollowCamel integration out of the box/a  /td/trtrtd 
colspan=1 rowspan=1 class=confluenceTd span class=error[Spring 
Neo4j]/span / camel-spring-neo4j in a shape=rect class=external-link 
href=http://code.google.com/p/camel-extra/; rel=nofollowcamel-extra/a
+div class=code panel style=border-width: 1px;div class=codeContent 
panelContent
+pre class=code-xml
+spring-neo4j:http://hostname[:port]/database[?options]
+/pre
+/div/div /tdtd colspan=1 rowspan=1 class=confluenceTd to bee 
clarified /tdtd colspan=1 rowspan=1 class=confluenceTd Component for 
producing to Neo4j datastore using the a shape=rect class=external-link 
href=http://www.springsource.org/spring-data/neo4j; rel=nofollowSpring Data 
Neo4j/a library /td/trtrtd colspan=1 rowspan=1 
class=confluenceTd a shape=rect href=zeromq.html 
title=ZeroMQZeroMQ/a / camel-zeromq in a shape=rect 
class=external-link href=http://code.google.com/p/camel-extra/; 
rel=nofollowcamel-extra/a. 
 div class=code panel style=border-width: 1px;div class=codeContent 
panelContent
 pre class=code-xml
 zeromq:(tcp|ipc)://hostname:port

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 Thu Mar 28 10:24:36 
2013
@@ -1056,12 +1056,7 @@ spring-integration:defaultChannelName
 pre class=code-xml
 spring-ldap:spring-ldap-template-bean?options
 /pre
-/div/div /tdtd colspan=1 rowspan=1 class=confluenceTd Camel 
wrapper for a shape=rect class=external-link 
href=http://www.springsource.org/ldap; rel=nofollowSpring LDAP/a 
/td/trtrtd colspan=1 rowspan=1 class=confluenceTd a shape=rect 
href=spring-neo4j.html title=Spring Neo4jSpring Neo4j/a / 
camel-spring-neo4j
-div class=code panel style=border-width: 1px;div class=codeContent 
panelContent
-pre class=code-xml
-spring-neo4j:http://hostname[:port]/database[?options]
-/pre
-/div/div /tdtd colspan=1 rowspan=1 class=confluenceTd Component 
for producing to Neo4j datastore using the a shape=rect 
class=external-link href=http://www.springsource.org/spring-data/neo4j; 
rel=nofollowSpring Data Neo4j/a library /td/trtrtd colspan=1 
rowspan=1 class=confluenceTd a shape=rect href=spring-redis.html 
title=Spring RedisSpring Redis/a / camel-spring-redis
+/div/div /tdtd colspan=1 rowspan=1 class=confluenceTd Camel 
wrapper for a shape=rect class=external-link 
href=http://www.springsource.org/ldap; rel=nofollowSpring LDAP/a 
/td/trtrtd colspan=1 rowspan=1 class=confluenceTd a shape=rect 
href=spring-redis.html title=Spring RedisSpring Redis/a / 
camel-spring-redis
 div class=code panel style=border-width: 1px;div class=codeContent 
panelContent
 pre class=code-xml
 spring-redis:restletUrl[?options]
@@ -1226,7 +1221,12 @@ scalate:templateName 
 pre class=code-xml
 

svn commit: r1462021 - in /camel/trunk: parent/pom.xml pom.xml

2013-03-28 Thread cmueller
Author: cmueller
Date: Thu Mar 28 10:30:41 2013
New Revision: 1462021

URL: http://svn.apache.org/r1462021
Log:
moved the maven-release-plugin configuration to our root pom. Otherwise the 
configuration has no effect.

Modified:
camel/trunk/parent/pom.xml
camel/trunk/pom.xml

Modified: camel/trunk/parent/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?rev=1462021r1=1462020r2=1462021view=diff
==
--- camel/trunk/parent/pom.xml (original)
+++ camel/trunk/parent/pom.xml Thu Mar 28 10:30:41 2013
@@ -260,7 +260,6 @@
 maven-jar-plugin-version2.4/maven-jar-plugin-version
 maven-javadoc-plugin-version2.9/maven-javadoc-plugin-version
 maven-plugin-plugin-version3.2/maven-plugin-plugin-version
-maven-release-plugin-version2.4/maven-release-plugin-version
 
maven-remote-resources-plugin-version1.4/maven-remote-resources-plugin-version
 maven-resources-plugin-version2.6/maven-resources-plugin-version
 maven-reporting-api-version2.2.1/maven-reporting-api-version
@@ -2212,19 +2211,6 @@
 /plugin
 plugin
   groupIdorg.apache.maven.plugins/groupId
-  artifactIdmaven-release-plugin/artifactId
-  version${maven-release-plugin-version}/version
-  configuration
-tagBasehttps://svn.apache.org/repos/asf/camel/tags/tagBase
-useReleaseProfilefalse/useReleaseProfile
-preparationGoalsclean install/preparationGoals
-goalsdeploy/goals
-
arguments-Papache-release,enable-schemagen,sourcecheck,validate,hibernate-derby/arguments
-autoVersionSubmodulestrue/autoVersionSubmodules
-  /configuration
-/plugin
-plugin
-  groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-remote-resources-plugin/artifactId
   version${maven-remote-resources-plugin-version}/version
 /plugin

Modified: camel/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/pom.xml?rev=1462021r1=1462020r2=1462021view=diff
==
--- camel/trunk/pom.xml (original)
+++ camel/trunk/pom.xml Thu Mar 28 10:30:41 2013
@@ -195,6 +195,20 @@
   /excludes
 /configuration
   /plugin
+  
+plugin
+  groupIdorg.apache.maven.plugins/groupId
+  artifactIdmaven-release-plugin/artifactId
+  version2.4/version
+  configuration
+tagBasehttps://svn.apache.org/repos/asf/camel/tags/tagBase
+useReleaseProfilefalse/useReleaseProfile
+preparationGoalsclean install/preparationGoals
+goalsdeploy/goals
+
arguments-Papache-release,enable-schemagen,sourcecheck,validate,hibernate-derby/arguments
+autoVersionSubmodulestrue/autoVersionSubmodules
+  /configuration
+/plugin
   /plugins
 /pluginManagement
   /build




svn commit: r1462068 - /camel/trunk/pom.xml

2013-03-28 Thread cmueller
Author: cmueller
Date: Thu Mar 28 12:19:06 2013
New Revision: 1462068

URL: http://svn.apache.org/r1462068
Log:
renamed the profile dependency because we renamed the profile in the past

Modified:
camel/trunk/pom.xml

Modified: camel/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/pom.xml?rev=1462068r1=1462067r2=1462068view=diff
==
--- camel/trunk/pom.xml (original)
+++ camel/trunk/pom.xml Thu Mar 28 12:19:06 2013
@@ -205,7 +205,7 @@
 useReleaseProfilefalse/useReleaseProfile
 preparationGoalsclean install/preparationGoals
 goalsdeploy/goals
-
arguments-Papache-release,enable-schemagen,sourcecheck,validate,hibernate-derby/arguments
+
arguments-Papache-release,enable-schemagen,sourcecheck,validate,hibernate/arguments
 autoVersionSubmodulestrue/autoVersionSubmodules
   /configuration
 /plugin




svn commit: r1462077 - /camel/trunk/components/camel-spring-javaconfig/src/test/java/org/apache/camel/spring/javaconfig/test/CamelSpringDelegatingTestContextLoaderTest.java

2013-03-28 Thread cmueller
Author: cmueller
Date: Thu Mar 28 13:03:38 2013
New Revision: 1462077

URL: http://svn.apache.org/r1462077
Log:
fixed CS error

Modified:

camel/trunk/components/camel-spring-javaconfig/src/test/java/org/apache/camel/spring/javaconfig/test/CamelSpringDelegatingTestContextLoaderTest.java

Modified: 
camel/trunk/components/camel-spring-javaconfig/src/test/java/org/apache/camel/spring/javaconfig/test/CamelSpringDelegatingTestContextLoaderTest.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-spring-javaconfig/src/test/java/org/apache/camel/spring/javaconfig/test/CamelSpringDelegatingTestContextLoaderTest.java?rev=1462077r1=1462076r2=1462077view=diff
==
--- 
camel/trunk/components/camel-spring-javaconfig/src/test/java/org/apache/camel/spring/javaconfig/test/CamelSpringDelegatingTestContextLoaderTest.java
 (original)
+++ 
camel/trunk/components/camel-spring-javaconfig/src/test/java/org/apache/camel/spring/javaconfig/test/CamelSpringDelegatingTestContextLoaderTest.java
 Thu Mar 28 13:03:38 2013
@@ -82,4 +82,5 @@ public class CamelSpringDelegatingTestCo
 errorEndpoint.assertIsSatisfied();
 }
 }
-//END SNIPPET: example
\ No newline at end of file
+//END SNIPPET: example
+




svn commit: r1462081 - in /camel/trunk/components/camel-rx/src: main/java/org/apache/camel/rx/ main/java/org/apache/camel/rx/support/ test/java/org/apache/camel/rx/

2013-03-28 Thread cmueller
Author: cmueller
Date: Thu Mar 28 13:12:22 2013
New Revision: 1462081

URL: http://svn.apache.org/r1462081
Log:
fixed CS reported errors

Modified:

camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/ObservableBody.java

camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/ObservableMessage.java

camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/ReactiveCamel.java

camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/RuntimeCamelRxException.java

camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/support/EndpointObservable.java

camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/support/EndpointSubscription.java

camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/support/ExchangeToBodyFunc1.java

camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/support/ExchangeToMessageFunc1.java

camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/support/ObservableProcessor.java

camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/support/ObserverSender.java

camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/support/ProcessorToObserver.java

camel/trunk/components/camel-rx/src/test/java/org/apache/camel/rx/ObservableBodyTest.java

camel/trunk/components/camel-rx/src/test/java/org/apache/camel/rx/ObservableMessageTest.java
camel/trunk/components/camel-rx/src/test/java/org/apache/camel/rx/Order.java

camel/trunk/components/camel-rx/src/test/java/org/apache/camel/rx/RxTestSupport.java

camel/trunk/components/camel-rx/src/test/java/org/apache/camel/rx/SendToTest.java

camel/trunk/components/camel-rx/src/test/java/org/apache/camel/rx/ToObservableAndMapTest.java

camel/trunk/components/camel-rx/src/test/java/org/apache/camel/rx/ToObservableBodyTest.java

camel/trunk/components/camel-rx/src/test/java/org/apache/camel/rx/ToObservableTest.java

Modified: 
camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/ObservableBody.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/ObservableBody.java?rev=1462081r1=1462080r2=1462081view=diff
==
--- 
camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/ObservableBody.java
 (original)
+++ 
camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/ObservableBody.java
 Thu Mar 28 13:12:22 2013
@@ -1,5 +1,4 @@
 /**
- *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
@@ -7,7 +6,7 @@
  * (the License); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
  *
- * http://www.apache.org/licenses/LICENSE-2.0
+ *  http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an AS IS BASIS,

Modified: 
camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/ObservableMessage.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/ObservableMessage.java?rev=1462081r1=1462080r2=1462081view=diff
==
--- 
camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/ObservableMessage.java
 (original)
+++ 
camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/ObservableMessage.java
 Thu Mar 28 13:12:22 2013
@@ -1,5 +1,4 @@
 /**
- *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
@@ -7,7 +6,7 @@
  * (the License); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
  *
- * http://www.apache.org/licenses/LICENSE-2.0
+ *  http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an AS IS BASIS,

Modified: 
camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/ReactiveCamel.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/ReactiveCamel.java?rev=1462081r1=1462080r2=1462081view=diff
==
--- 
camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/ReactiveCamel.java
 (original)
+++ 
camel/trunk/components/camel-rx/src/main/java/org/apache/camel/rx/ReactiveCamel.java
 Thu Mar 28 13:12:22 2013
@@ -1,5 +1,4 @@
 /**
- *
  * Licensed to the Apache 

svn commit: r1462136 - /camel/trunk/components/camel-web/pom.xml

2013-03-28 Thread cmueller
Author: cmueller
Date: Thu Mar 28 14:53:37 2013
New Revision: 1462136

URL: http://svn.apache.org/r1462136
Log:
added correct dependency to commons-io after it was moved in Maven central

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

Modified: camel/trunk/components/camel-web/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-web/pom.xml?rev=1462136r1=1462135r2=1462136view=diff
==
--- camel/trunk/components/camel-web/pom.xml (original)
+++ camel/trunk/components/camel-web/pom.xml Thu Mar 28 14:53:37 2013
@@ -304,6 +304,13 @@
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-javadoc-plugin/artifactId
+dependencies
+dependency
+groupIdorg.apache.commons/groupId
+artifactIdcommons-io/artifactId
+version1.3.2/version
+/dependency
+/dependencies
 executions
 execution
 goals