svn commit: r1410709 - in /camel/trunk/components/camel-jclouds/src: main/java/org/apache/camel/component/jclouds/ test/java/org/apache/camel/component/jclouds/ test/resources/

2012-11-17 Thread davsclaus
Author: davsclaus
Date: Sat Nov 17 08:32:56 2012
New Revision: 1410709

URL: http://svn.apache.org/viewvc?rev=1410709view=rev
Log:
Fixed test and polished code.

Modified:

camel/trunk/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreEndpoint.java

camel/trunk/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreHelper.java

camel/trunk/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreProducer.java

camel/trunk/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsComponent.java

camel/trunk/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsComputeEndpoint.java

camel/trunk/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsComputeProducer.java

camel/trunk/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsProducer.java

camel/trunk/components/camel-jclouds/src/test/java/org/apache/camel/component/jclouds/JcloudsBlobStoreConsumerTest.java

camel/trunk/components/camel-jclouds/src/test/java/org/apache/camel/component/jclouds/JcloudsBlobStoreProducerTest.java

camel/trunk/components/camel-jclouds/src/test/java/org/apache/camel/component/jclouds/JcloudsMultipleBlobStoreTest.java

camel/trunk/components/camel-jclouds/src/test/java/org/apache/camel/component/jclouds/JcloudsSpringBlobstoreTest.java

camel/trunk/components/camel-jclouds/src/test/java/org/apache/camel/component/jclouds/JcloudsSpringComputeTest.java
camel/trunk/components/camel-jclouds/src/test/resources/blobstore-test.xml

Modified: 
camel/trunk/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreEndpoint.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreEndpoint.java?rev=1410709r1=1410708r2=1410709view=diff
==
--- 
camel/trunk/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreEndpoint.java
 (original)
+++ 
camel/trunk/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreEndpoint.java
 Sat Nov 17 08:32:56 2012
@@ -21,7 +21,6 @@ import org.apache.camel.Processor;
 import org.apache.camel.Producer;
 import org.jclouds.blobstore.BlobStore;
 
-
 public class JcloudsBlobStoreEndpoint extends JcloudsEndpoint {
 
 private String locationId;
@@ -32,13 +31,6 @@ public class JcloudsBlobStoreEndpoint ex
 
 private BlobStore blobStore;
 
-/**
- * Constructor
- *
- * @param uri
- * @param component
- * @param blobStore
- */
 public JcloudsBlobStoreEndpoint(String uri, JcloudsComponent component, 
BlobStore blobStore) {
 super(uri, component);
 this.blobStore = blobStore;

Modified: 
camel/trunk/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreHelper.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreHelper.java?rev=1410709r1=1410708r2=1410709view=diff
==
--- 
camel/trunk/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreHelper.java
 (original)
+++ 
camel/trunk/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreHelper.java
 Sat Nov 17 08:32:56 2012
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.camel.component.jclouds;
 
 import java.io.InputStream;
@@ -35,10 +34,6 @@ public final class JcloudsBlobStoreHelpe
 
 /**
  * Creates all directories that are part of the blobName.
- *
- * @param blobStore
- * @param container
- * @param blobName
  */
 public static void mkDirs(BlobStore blobStore, String container, String 
blobName) {
 if (blobStore != null  !Strings.isNullOrEmpty(blobName)  
blobName.contains(/)) {
@@ -62,10 +57,6 @@ public final class JcloudsBlobStoreHelpe
 
 /**
  * Returns the {@link Location} that matches the locationId.
- *
- * @param blobStore
- * @param locationId
- * @return
  */
 public static Location getLocationById(BlobStore blobStore, String 
locationId) {
 if (blobStore != null  !Strings.isNullOrEmpty(locationId)) {
@@ -80,11 +71,6 @@ public final class JcloudsBlobStoreHelpe
 
 /**
  * Writes {@link Payload} to the the {@link BlobStore}.
- *
- * @param blobStore
- * @param container
- * @param blobName
- * @param payload
  */
 public static void writeBlob(BlobStore blobStore, String container, String 
blobName, Payload 

svn commit: r1410710 - in /camel/branches/camel-2.10.x: ./ components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/ components/camel-jclouds/src/test/java/org/apache/camel/component/

2012-11-17 Thread davsclaus
Author: davsclaus
Date: Sat Nov 17 08:42:15 2012
New Revision: 1410710

URL: http://svn.apache.org/viewvc?rev=1410710view=rev
Log:
Fixed test and polished code.

Modified:
camel/branches/camel-2.10.x/   (props changed)

camel/branches/camel-2.10.x/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreEndpoint.java

camel/branches/camel-2.10.x/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreHelper.java

camel/branches/camel-2.10.x/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreProducer.java

camel/branches/camel-2.10.x/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsComponent.java

camel/branches/camel-2.10.x/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsComputeEndpoint.java

camel/branches/camel-2.10.x/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsComputeProducer.java

camel/branches/camel-2.10.x/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsProducer.java

camel/branches/camel-2.10.x/components/camel-jclouds/src/test/java/org/apache/camel/component/jclouds/JcloudsBlobStoreConsumerTest.java

camel/branches/camel-2.10.x/components/camel-jclouds/src/test/java/org/apache/camel/component/jclouds/JcloudsBlobStoreProducerTest.java

camel/branches/camel-2.10.x/components/camel-jclouds/src/test/java/org/apache/camel/component/jclouds/JcloudsSpringBlobstoreTest.java

camel/branches/camel-2.10.x/components/camel-jclouds/src/test/java/org/apache/camel/component/jclouds/JcloudsSpringComputeTest.java

camel/branches/camel-2.10.x/components/camel-jclouds/src/test/resources/blobstore-test.xml

Propchange: camel/branches/camel-2.10.x/
--
  Merged /camel/trunk:r1410709

Propchange: camel/branches/camel-2.10.x/
--
Binary property 'svnmerge-integrated' - no diff available.

Modified: 
camel/branches/camel-2.10.x/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreEndpoint.java
URL: 
http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreEndpoint.java?rev=1410710r1=1410709r2=1410710view=diff
==
--- 
camel/branches/camel-2.10.x/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreEndpoint.java
 (original)
+++ 
camel/branches/camel-2.10.x/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreEndpoint.java
 Sat Nov 17 08:42:15 2012
@@ -21,7 +21,6 @@ import org.apache.camel.Processor;
 import org.apache.camel.Producer;
 import org.jclouds.blobstore.BlobStore;
 
-
 public class JcloudsBlobStoreEndpoint extends JcloudsEndpoint {
 
 private String locationId;
@@ -32,13 +31,6 @@ public class JcloudsBlobStoreEndpoint ex
 
 private BlobStore blobStore;
 
-/**
- * Constructor
- *
- * @param uri
- * @param component
- * @param blobStore
- */
 public JcloudsBlobStoreEndpoint(String uri, JcloudsComponent component, 
BlobStore blobStore) {
 super(uri, component);
 this.blobStore = blobStore;

Modified: 
camel/branches/camel-2.10.x/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreHelper.java
URL: 
http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreHelper.java?rev=1410710r1=1410709r2=1410710view=diff
==
--- 
camel/branches/camel-2.10.x/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreHelper.java
 (original)
+++ 
camel/branches/camel-2.10.x/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/JcloudsBlobStoreHelper.java
 Sat Nov 17 08:42:15 2012
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.camel.component.jclouds;
 
 import java.io.InputStream;
@@ -35,10 +34,6 @@ public final class JcloudsBlobStoreHelpe
 
 /**
  * Creates all directories that are part of the blobName.
- *
- * @param blobStore
- * @param container
- * @param blobName
  */
 public static void mkDirs(BlobStore blobStore, String container, String 
blobName) {
 if (blobStore != null  !Strings.isNullOrEmpty(blobName)  
blobName.contains(/)) {
@@ -62,10 +57,6 @@ public final class JcloudsBlobStoreHelpe
 
 /**
  * Returns the {@link Location} that matches the locationId.
- *
- 

[CONF] Apache Camel Camel 2.11.0 Release

2012-11-17 Thread confluence







Camel 2.11.0 Release
Page edited by Ben ODay


Comment:
updated per CAMEL-5388


 Changes (1)
 




...
* [Mail] consumer now supports using search terms to filter mails by terms such as subject, from, body, sent date etc. * The cached script file in the [Language] component can now be cleared via JMX. 
* improved the karaf context-info command by adding a verbose mode to view endpoints list (now hidden by default) and adding stats on the number of active/inactive routes 
 h3. Fixed issues 
...


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: 


	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 configurations.
	EIPs configured with custom AggregationStrategy will now strict check the custom strategy exists in the Registry and no longer fallback and use a default strategy if not.
	Camel now logs on shutdown if any thread pools hasn't been properly shutdown, and 

[CONF] Apache Camel Back from ApacheCon EU 2012

2012-11-17 Thread confluence







Back from ApacheCon EU 2012
Blog post  added by Christian Mueller

 

 We had a great stay at ApacheCon EU 2012 in Sinsheim, Germany last week.

Some of the Apache Camel and Apache ActiveMQ committers like Hadrian Zbarcea, Charles Moulliard, Christian Schneider, Guillaume Nodet, Jean-Baptiste Onofré, Dejan Bosanac, Aki Yoshida and myself met some of our contributor like Lukasz Dywicki, Christian Ohr, Adrian Trenaman and some of our users like Kai Wähner, Frank Pientka, Achim Nierbeck, Preben Asmussen, Alex Zbarcea and some more from SAP and other companies.

Unable to render embedded object: File (apachecon-eu-2012.jpg) not found.
In the Apache Camel in Action track we had five talks about Camel and ActiveMQ:
Christian Müller: Apache Camel in Action - Common problems, solutions and best practices
Hadrian Zbarcea: Apache Camel - Advanced Techniques
Dejan Bosanac: Apollo and future of ActiveMQ
Kai Wähner: Next Generation – Systems Integration in the Cloud Era with Apache Camel
Łukasz Dywicki: When Camel meets CDI

The slides and audio recordings are not available yet, but I will post the links on the user mailing list and add it to our articles site if they are available.


Unable to render embedded object: File (jacug-camel.jpg) not found.
Koseki Nobuyuki arrived from Japan with great gifts from the Japan Apache Camel User Group for many Camel committer, contributor and user. Thanks again Koseki, we hope you have returned well.

We have had good discussions about new requirements which lead in the direction to support additional EIP's like the Control Bus EIP or the Message History EIP.
We have also talked about the long awaited Camel 3.0 release and what should be included and in which manner. We shared and discussed some ideas but didn't make any decisions except to revive the discussion about Camel 3.0. Expect some DISCUSS threads in the next day's at our development mailing list. If you are interested in these discussions and want share your opinions, please join us! You can find out more about our mailing lists here.

After all this discussions (and sometime during the discussions), we had some beers together. I really enjoyed this time and I'm looking forward to meeting you all again at ApacheCon NA 2013 in Portland, Oregon. We have got 18 proposals for talks about Apache Camel. Keep your finger crossed that we will see many of these proposals accepted...

Enjoy the Camel ride!
Christian


   
Change Notification Preferences
   
   View Online
  |
   Add Comment
   








[CONF] Apache Camel Back from ApacheCon EU 2012

2012-11-17 Thread confluence







Back from ApacheCon EU 2012
File attached by  Christian Mueller




20121108_101512.jpg
(147 kB image/jpeg)



   
Change Notification Preferences
   
   View Attachments









[CONF] Apache Camel Back from ApacheCon EU 2012

2012-11-17 Thread confluence







Back from ApacheCon EU 2012
File attached by  Christian Mueller




jacug-camel.jpg
(2.01 MB image/jpeg)



   
Change Notification Preferences
   
   View Attachments









[CONF] Apache Camel Back from ApacheCon EU 2012

2012-11-17 Thread confluence







Back from ApacheCon EU 2012
File removed by  Christian Mueller




20121108_101512.jpg (147 kB image/jpeg)




   
Change Notification Preferences
   
   View Attachments










svn commit: r838696 - in /websites/production/camel/content: cache/main.pageCache camel-2110-release.html

2012-11-17 Thread buildbot
Author: buildbot
Date: Sat Nov 17 23:17:57 2012
New Revision: 838696

Log:
Production update by buildbot for camel

Modified:
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/camel-2110-release.html

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

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 Sat Nov 17 
23:17:57 2012
@@ -84,7 +84,7 @@
 
 pWelcome to the 2.11.0 release with approximately XXX issues resolved - 
including new features, improvements, and bug fixes, such as: /p
 
-ulliAdded a shape=rect href=binding.html title=BindingBinding/a 
support, so it is easy to combine things like a a shape=rect 
href=data-format.html title=Data FormatData Format/a to an a 
shape=rect href=endpoint.html title=EndpointEndpoint/a for easier 
composition of routes./liliAdded support for SOAP 1.2 in a shape=rect 
href=soap.html title=SOAPSOAP/a data format./lilia shape=rect 
href=cache.html title=CacheCache/a operation for add/update now supports 
expiry headers to control time to live/idle/eternal./liliAdded 
ttallowNullBody/tt option to a shape=rect href=jms.html 
title=JMSJMS/a to configure whether sending messages with no body is 
allowed./liliAdded ttconnectOnStartup/tt option to a shape=rect 
href=hdfs.html title=HDFSHDFS/a 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 mechan
 ism./liliAdded support for daily and weekly trends to a shape=rect 
href=twitter.html title=TwitterTwitter/a component./liliThe a 
shape=rect href=camel-maven-archetypes.html title=Camel Maven 
ArchetypesCamel Maven Archetypes/a now generates projects without any 
license headers./liliAdded 'rejectOld' option to the a shape=rect 
href=resequencer.html title=ResequencerResequencer/a to prevent out of 
order messages from being delivered after capacity/timeout events 
occur/liliFurther optimized a shape=rect href=xpath.html 
title=XPathXPath/a under concurrent load, and as well ensured resources 
are cleaned up eagerly/liliAdded options ttallowNullBody/tt and 
ttreadLockMinLength/tt to the a shape=rect href=file2.html 
title=File2File/a and a shape=rect href=ftp2.html 
title=FTP2FTP/a components./liliMade ttchanged/tt read lock 
strategy on a shape=rect href=ftp2.html title=FTP2FTP/a g
 o faster (eg when the FTP server has a lot of files in the directory) if you 
enable the ttfastExistsCheck=true/tt option as well. Notice that some FTP 
server may not support this./lilia shape=rect href=hl7.html 
title=HL7HL7/a moves to HAPI 2.0 and supports using a dedicated Parser 
instance in the a shape=rect href=hl7.html title=HL7HL7/a MLLP codec 
and DataFormat. Added Terser language and expression to be able to extract 
fields from a parsed message. a shape=rect href=hl7.html 
title=HL7HL7/a now uses Apache Mina 2.x./liliAdd an option 
ttHttpMethodRestrict/tt to restrict HTTP method in a shape=rect 
href=jetty.html title=JettyJetty/a and a shape=rect 
href=servlet.html title=SERVLETSERVLET/a/liliAdd support for 
selection of a shape=rect href=direct-vm.html 
title=Direct-VMDirect-VM/a consumers by using ant-like path 
expression./liliThe a shape=rect href=pojo-producing.html title=POJO 
Pro
 ducingPOJO Producing/a, and a shape=rect href=pojo-consuming.html 
title=POJO ConsumingPOJO Consuming/a 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./liliTesting with ttcamel-test-blueprint/tt on Windows no 
longer tries to cleanup after testing taking up 5 seconds and logging 
WARNs./liliThe a shape=rect href=file2.html title=File2File/a, 
and a shape=rect href=ftp2.html title=FTP2FTP/a components now 
support ttfileExist=Move/tt option to move any existing files before 
writing a file./liliAdded option ttloadStatisticsEnabled/tt on a 
shape=rect href=camel-jmx.html title=Camel JMXCamel JMX/a to allow to 
disable load statistics if not needed (avoids a background thread being in use, 
to calculate the load stats)./
 liliEnabled lazy connections for a shape=rect href=xmpp.html 
title=XMPPXMPP/a providers via the tttestConnectionOnStartup/tt 
option/liliAdded a connection monitor to detect and fix dropped a 
shape=rect href=xmpp.html title=XMPPXMPP/a consumer connections at 
configurable ttconnectionPollDelay/tt intervals/liliAdded an 
ttorg.apache.camel.builder.ExchangeBuilder/tt to build the a shape=rect 
href=exchange.html title=ExchangeExchange/a using a