svn commit: r996535 - in /websites/production/camel/content: cache/main.pageCache mongodb-gridfs.html

2016-09-02 Thread buildbot
Author: buildbot
Date: Fri Sep  2 19:18:49 2016
New Revision: 996535

Log:
Production update by buildbot for camel

Modified:
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/mongodb-gridfs.html

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

Modified: websites/production/camel/content/mongodb-gridfs.html
==
--- websites/production/camel/content/mongodb-gridfs.html (original)
+++ websites/production/camel/content/mongodb-gridfs.html Fri Sep  2 19:18:49 
2016
@@ -96,7 +96,7 @@
 URI format
 
-Endpoint 
optionsGridFS endpoints support the following options, depending on 
whether they are acting like a Producer or as a Consumer (options vary based on 
the consumer type too).NameDefault ValueDescriptionProducerConsumerdatabasenoneRequired. The name of the database to 
which this endpoint will be bound. All operations will be execu
 ted against this database.https://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/check.png;
 data-emoticon-name="tick" alt="(tick)">https://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/check.png;
 data-emoticon-name="tick" alt="(tick)">bucketfsThe name of the GridFS bucket within the Database. The 
default is the GridFS.DEFAULT_BUCKET value ("fs").https://cwiki
 
.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/check.png"
 data-emoticon-name="tick" alt="(tick)">https://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/check.png;
 data-emoticon-name="tick" alt="(tick)">operationcreateThe id of the operation this endpoint will 
execute. Pick from the following:Query operations: 
findOne, listAll, countWrite 
operations: createDelete operations: 
removehttps://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/check.png;
 data-emoticon-name="tick" alt="(tick)">querynoneCombined with the query strategy parameters to create 
the query used to search for new files.https://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/check.png;
 data-emoticon-name="tick" alt="(tick)">queryStrategyTimeStampThe strategy that is used to find new files. Can be one 
of:TimeStamp - files that are uploaded after the Consumer starts 
are processedPersistentTimestamp - Like TimeStamp, but the last 
timestamp used is persisted to a collection so when the Consumer restarts, it 
can resume where it left offFileAttribute - finds files that do 
NOT have the give attribute. After processing, it adds the 
attribute.TimestampAndFileAttribute - finds files that are 
newer than the TimeStamp and are missing the 
attributePersistentTimestampAndFileAttributehttps://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/ic
 ons/emoticons/check.png" data-emoticon-name="tick" 
alt="(tick)">persistentTSCollectioncamel-timestampsWhen using persistent timestamps, this is 
the Collection that the timestamp is stored into.https://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/check.png;
 data-emoticon-name="tick" alt="(tick)">persistenTSObjectcamel-timestampWhen using persistent timestamps, this is 
the object ID for the ti
 mestamp object. Each consumer can have it's own timestamp ID stored in a 
common Collectionhttps://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/check.png;
 data-emoticon-name="tick" alt="(tick)">fileAttributeNamecamel-processedWhen using FileAttribute, this is the name 
of the attribute that is used. When a file is about to be processed, the 
attribute is set to "processing" and then set to "done" when the file 
processing is done.https://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/check.png;
 data-emoticon-name="tick" alt="(tick)">delay500 (ms)The delay between polling GridFS for new 
fileshttps://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/check.png;
 data-emoticon-name="tick" alt="(tick)">initialDelay1000 (ms)The initial delay before the first 
pollhttps://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/check.png;
 data-emoticon-name="tick" alt="(tick)">Configuration of database 
in Spring XMLThe following Spring XML creates a bean defining the 
connection to 

camel git commit: CAMEL-10238: Refresh oauth token on 401 in handshake error

2016-09-02 Thread dhirajsb
Repository: camel
Updated Branches:
  refs/heads/camel-2.17.x 4f2aafed8 -> 1f7abfcb5


CAMEL-10238: Refresh oauth token on 401 in handshake error


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/1f7abfcb
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/1f7abfcb
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/1f7abfcb

Branch: refs/heads/camel-2.17.x
Commit: 1f7abfcb586b68e19fea28331f69dd35e6f12145
Parents: 4f2aafe
Author: Dhiraj Bokde 
Authored: Fri Sep 2 10:39:13 2016 -0700
Committer: Dhiraj Bokde 
Committed: Fri Sep 2 10:43:51 2016 -0700

--
 .../internal/streaming/SubscriptionHelper.java  | 25 +++-
 1 file changed, 14 insertions(+), 11 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/camel/blob/1f7abfcb/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/streaming/SubscriptionHelper.java
--
diff --git 
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/streaming/SubscriptionHelper.java
 
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/streaming/SubscriptionHelper.java
index cbe84ab..9eb75ae 100644
--- 
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/streaming/SubscriptionHelper.java
+++ 
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/streaming/SubscriptionHelper.java
@@ -117,6 +117,20 @@ public class SubscriptionHelper extends ServiceSupport {
 handshakeError = (String) message.get(ERROR_FIELD);
 handshakeException = getFailure(message);
 
+
+if (handshakeError != null) {
+// refresh oauth token, if it's a 401 error
+if (handshakeError.startsWith("401::")) {
+try {
+LOG.info("Refreshing OAuth token...");
+session.login(session.getAccessToken());
+LOG.info("Refreshed OAuth token for 
re-handshake");
+} catch (SalesforceException e) {
+LOG.error("Error renewing OAuth token on 
401 error: " + e.getMessage(), e);
+}
+}
+}
+
 // restart if handshake fails for any reason
 restartClient();
 
@@ -140,17 +154,6 @@ public class SubscriptionHelper extends ServiceSupport {
 connectError = (String) message.get(ERROR_FIELD);
 connectException = getFailure(message);
 
-if (connectError != null) {
-// refresh oauth token, if it's a 403 error
-if (connectError.startsWith("403::")) {
-try {
-session.login(null);
-} catch (SalesforceException e) {
-LOG.error("Error renewing OAuth token on 
Connect 403: " + e.getMessage(), e);
-}
-}
-}
-
 } else if (reconnecting) {
 
 reconnecting = false;



[2/2] camel git commit: Added javadoc for setter in endpoint

2016-09-02 Thread dhirajsb
Added javadoc for setter in endpoint


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/8e55d4cd
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/8e55d4cd
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/8e55d4cd

Branch: refs/heads/master
Commit: 8e55d4cd77f0bc8bf1a4537f5f12c4317f6d1530
Parents: 32ef19d
Author: Dhiraj Bokde 
Authored: Fri Sep 2 10:23:09 2016 -0700
Committer: Dhiraj Bokde 
Committed: Fri Sep 2 10:39:49 2016 -0700

--
 .../org/apache/camel/component/file/GenericFileEndpoint.java | 4 
 1 file changed, 4 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/camel/blob/8e55d4cd/camel-core/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
--
diff --git 
a/camel-core/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
 
b/camel-core/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
index eaf12c8..d1efe7d 100644
--- 
a/camel-core/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
+++ 
b/camel-core/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
@@ -477,6 +477,8 @@ public abstract class GenericFileEndpoint extends 
ScheduledPollEndpoint imple
 }
 
 /**
+ * Filters the directory based on Simple language.
+ * For example to filter on current date, you can use a simple date 
pattern such as ${date:now:yyyMMdd}
  * @see #setFilterDirectory(Predicate)
  */
 public void setFilterDirectory(String expression) {
@@ -496,6 +498,8 @@ public abstract class GenericFileEndpoint extends 
ScheduledPollEndpoint imple
 }
 
 /**
+ * Filters the file based on Simple language.
+ * For example to filter on file size, you can use ${file:size} > 5000
  * @see #setFilterFile(Predicate)
  */
 public void setFilterFile(String expression) {



[1/2] camel git commit: CAMEL-10238: Refresh oauth token on 401 in handshake error

2016-09-02 Thread dhirajsb
Repository: camel
Updated Branches:
  refs/heads/master 32ef19d89 -> 13cd60739


CAMEL-10238: Refresh oauth token on 401 in handshake error


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/13cd6073
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/13cd6073
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/13cd6073

Branch: refs/heads/master
Commit: 13cd60739600d8a7522bd1b1cafcd26773449d64
Parents: 8e55d4c
Author: Dhiraj Bokde 
Authored: Fri Sep 2 10:39:13 2016 -0700
Committer: Dhiraj Bokde 
Committed: Fri Sep 2 10:39:49 2016 -0700

--
 .../internal/streaming/SubscriptionHelper.java  | 25 +++-
 1 file changed, 14 insertions(+), 11 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/camel/blob/13cd6073/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/streaming/SubscriptionHelper.java
--
diff --git 
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/streaming/SubscriptionHelper.java
 
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/streaming/SubscriptionHelper.java
index ed4c152..411caa1 100644
--- 
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/streaming/SubscriptionHelper.java
+++ 
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/streaming/SubscriptionHelper.java
@@ -121,6 +121,20 @@ public class SubscriptionHelper extends ServiceSupport {
 handshakeError = (String) message.get(ERROR_FIELD);
 handshakeException = getFailure(message);
 
+
+if (handshakeError != null) {
+// refresh oauth token, if it's a 401 error
+if (handshakeError.startsWith("401::")) {
+try {
+LOG.info("Refreshing OAuth token...");
+session.login(session.getAccessToken());
+LOG.info("Refreshed OAuth token for 
re-handshake");
+} catch (SalesforceException e) {
+LOG.error("Error renewing OAuth token on 
401 error: " + e.getMessage(), e);
+}
+}
+}
+
 // restart if handshake fails for any reason
 restartClient();
 
@@ -144,17 +158,6 @@ public class SubscriptionHelper extends ServiceSupport {
 connectError = (String) message.get(ERROR_FIELD);
 connectException = getFailure(message);
 
-if (connectError != null) {
-// refresh oauth token, if it's a 403 error
-if (connectError.startsWith("403::")) {
-try {
-session.login(null);
-} catch (SalesforceException e) {
-LOG.error("Error renewing OAuth token on 
Connect 403: " + e.getMessage(), e);
-}
-}
-}
-
 } else if (reconnecting) {
 
 reconnecting = false;



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

2016-09-02 Thread buildbot
Author: buildbot
Date: Fri Sep  2 17:18:45 2016
New Revision: 996530

Log:
Production update by buildbot for camel

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

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

Modified: websites/production/camel/content/camel-2180-release.html
==
--- websites/production/camel/content/camel-2180-release.html (original)
+++ websites/production/camel/content/camel-2180-release.html Fri Sep  2 
17:18:45 2016
@@ -85,7 +85,7 @@

 
 
-Camel 2.18.0 
release (currently in progress)http://camel.apache.org/download.data/camel-box-v1.0-150x200.png; 
data-image-src="http://camel.apache.org/download.data/camel-box-v1.0-150x200.png;>New and NoteworthyWelcome to 
the 2.18.0 release which approx XXX issues resolved (new features, improvements 
and bug fixes such as...)The XSD schema for camelContext 
and its other configuration elements are now also documented (before it was 
only routes and rests). The XSD schema now also documents the 
default values of all the options.Introduced
 0;FluentProducerTemplateusing fluent builder style as a 
alternative toProducerTemplateAll CamelComponents that has options to be 
configured now supports and includeSpring Bootauto configuration for those 
options, so they can easily be configured in your application.yaml file when 
using Spring Boot with Camel.Camel Spring Boot now supports the sameadvanced 
configurationyou can do with Spring XML, if the beanshave been 
configured using@Beanstyle in a Spring Boot 
configuration class.Added Hystrix EIP as EIP pattern that uses native 
Netflixx Hystrix as the Circuit Bre
 aker implementation.This requires 
havingcamel-hystrixon the 
classpath.AddedService Call EIP as EIP pattern that allows to 
call a remote service in a distributed system, where the service is looked up 
from a service registry of some sorts, such as kubernetes, consul, etcd, 
zookeeper etc.Running Camel 
withSpring Boot now includes 
a Camel Health Indicator (actuator) if 
spring-boot-starter-actuatoris on the 
classpath.TheRest 
component allows to call REST services now (as a client), where you can pick 
one of the following Camel components for the HTTP transport: http, http4, 
netty4-http, jetty, restlet, undertow. You can also refer to a existing swagger 
api doc and include camel-swagger-java on the classpath, for automatic va
 lidation of rest endpoint is configured to use a valid rest 
operation/parameters.Spring-DM for OSGi moved out of camel-spring into 
a separate camel-spring-dm module.Improved 
theBean component to better match method parameter types 
when usingSimple language as parameter 
values.AddedBindyConverter that allows to 
implement custom data converters forBindyThe access in theRest DSL has been deprecated and no longer in use - 
its not part of swagger specification anymore.Camel-NATSnow uses JNATS client instead of the 
depreca
 ted Java_nats one.During startup ofCamelContext the services that are used as part of 
routes are now deferred being started to the end of the startup process. Some 
IoC frameworks like Spring can otherwise causes a circular dependency issue if 
services are started too early. A side effect is that if service startup 
failures happen when being started later, they are now wrapped in the 
FailedToStartupRouteException to better pin point which route thas 
the problem.Improved the startup sequence ofSpring Java Config to be similar toSpring Boot that helps prevent Spring 
initialization errors about circular dependencies issues.Added PATCH 
toRest DSLAdded "starts 
with" and "ends with" operator to the Simple<
 /a>language.AddedBeanIOSplitter toBeanIO that can be used with theSplitter EIP to split big payloads in 
streaming mode without reading the entire content into memory.Some of 
the AWScomponents allows to specify 
ARN in the endpoint configuration.The create operation 
inZookeeper now creates sub 
paths if missing.Added support for async mode forSERVLET component to leverage Asynchronous Servlet from 
the Servlet 3.0 spec.Beancomponent and Bean Languagevalidates method name must be 
a valid according to java identifier rules, and also if parameter syntax has an 
ending parenthesis.You can no
 w use@RunWith(CamelSpringBootJUnit4ClassRunner.class) to 
test CamelSpring 
Bootapplications and use the Camel test annotations fromSpring Testing such 
as@MockEndpoints.To turn on logging exhausted 
message body with the message history you can configure this easily on the 
CamelContext level withsetLogExhaustedMessageBodyCamel-Infinispan now supports 
Aggregation Repository: InfinispanLocalAggregationRepository and 
InfinispanRemoteAggregationRepositoryTheSQL Componentand ElSqlnow 

camel git commit: Use 'JPA' instead of 'SQL' in the Spring Boot REST DSL JPA example

2016-09-02 Thread astefanutti
Repository: camel
Updated Branches:
  refs/heads/master 1f082895f -> 32ef19d89


Use 'JPA' instead of 'SQL' in the Spring Boot REST DSL JPA example


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/32ef19d8
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/32ef19d8
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/32ef19d8

Branch: refs/heads/master
Commit: 32ef19d89e0fdda8dc7b37ea8edfd5448ca848e7
Parents: 1f08289
Author: Antonin Stefanutti 
Authored: Fri Sep 2 18:43:40 2016 +0200
Committer: Antonin Stefanutti 
Committed: Fri Sep 2 18:43:40 2016 +0200

--
 examples/camel-example-spring-boot-rest-jpa/README.md | 10 +-
 .../camel/example/spring/boot/rest/jpa/Application.java   |  4 ++--
 .../example/spring/boot/rest/jpa/ApplicationTest.java |  4 ++--
 3 files changed, 9 insertions(+), 9 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/camel/blob/32ef19d8/examples/camel-example-spring-boot-rest-jpa/README.md
--
diff --git a/examples/camel-example-spring-boot-rest-jpa/README.md 
b/examples/camel-example-spring-boot-rest-jpa/README.md
index 0818929..72e3975 100644
--- a/examples/camel-example-spring-boot-rest-jpa/README.md
+++ b/examples/camel-example-spring-boot-rest-jpa/README.md
@@ -2,7 +2,7 @@
 
 ### Introduction
 
-This example demonstrates how to use SQL via JDBC along with Camel's REST DSL
+This example demonstrates how to use JPA and Spring Data along with Camel's 
REST DSL
 to expose a RESTful API that performs CRUD operations on a database.
 
 It generates orders for books referenced in database at a regular pace.
@@ -57,16 +57,16 @@ being logged to the console, e.g.:
 
 You can then access the REST API directly from your Web browser, e.g.:
 
-- 
-- 
+- 
+- 
 
 The Camel application can be stopped pressing ctrl+c in 
the shell.
 
 ### Swagger API
 
 The example provides API documentation of the service using Swagger using
-the _context-path_ `camel-rest-sql/api-doc`. You can access the API 
documentation
-from your Web browser at .
+the _context-path_ `camel-rest-jpa/api-doc`. You can access the API 
documentation
+from your Web browser at .
 
 ### Forum, Help, etc
 

http://git-wip-us.apache.org/repos/asf/camel/blob/32ef19d8/examples/camel-example-spring-boot-rest-jpa/src/main/java/org/apache/camel/example/spring/boot/rest/jpa/Application.java
--
diff --git 
a/examples/camel-example-spring-boot-rest-jpa/src/main/java/org/apache/camel/example/spring/boot/rest/jpa/Application.java
 
b/examples/camel-example-spring-boot-rest-jpa/src/main/java/org/apache/camel/example/spring/boot/rest/jpa/Application.java
index 6fe265a..9a8ff13 100644
--- 
a/examples/camel-example-spring-boot-rest-jpa/src/main/java/org/apache/camel/example/spring/boot/rest/jpa/Application.java
+++ 
b/examples/camel-example-spring-boot-rest-jpa/src/main/java/org/apache/camel/example/spring/boot/rest/jpa/Application.java
@@ -36,7 +36,7 @@ public class Application extends SpringBootServletInitializer 
{
 @Bean
 ServletRegistrationBean servletRegistrationBean() {
 ServletRegistrationBean servlet = new ServletRegistrationBean(
-new CamelHttpTransportServlet(), "/camel-rest-sql/*");
+new CamelHttpTransportServlet(), "/camel-rest-jpa/*");
 servlet.setName("CamelServlet");
 return servlet;
 }
@@ -47,7 +47,7 @@ public class Application extends SpringBootServletInitializer 
{
 @Override
 public void configure() {
 restConfiguration()
-.contextPath("/camel-rest-sql").apiContextPath("/api-doc")
+.contextPath("/camel-rest-jpa").apiContextPath("/api-doc")
 .apiProperty("api.title", "Camel REST API")
 .apiProperty("api.version", "1.0")
 .apiProperty("cors", "true")

http://git-wip-us.apache.org/repos/asf/camel/blob/32ef19d8/examples/camel-example-spring-boot-rest-jpa/src/test/java/org/apache/camel/example/spring/boot/rest/jpa/ApplicationTest.java
--
diff --git 
a/examples/camel-example-spring-boot-rest-jpa/src/test/java/org/apache/camel/example/spring/boot/rest/jpa/ApplicationTest.java
 
b/examples/camel-example-spring-boot-rest-jpa/src/test/java/org/apache/camel/example/spring/boot/rest/jpa/ApplicationTest.java

[2/2] camel git commit: Add a quick test to make sure the gridfs feature will install correctly

2016-09-02 Thread dkulp
Add a quick test to make sure the gridfs feature will install correctly


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/1f082895
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/1f082895
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/1f082895

Branch: refs/heads/master
Commit: 1f082895f460bb67157b951523f973bc9efa22a9
Parents: b8d95f6
Author: Daniel Kulp 
Authored: Fri Sep 2 12:19:04 2016 -0400
Committer: Daniel Kulp 
Committed: Fri Sep 2 12:19:04 2016 -0400

--
 .../itest/karaf/CamelMongodbGridfsTest.java | 34 
 1 file changed, 34 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/camel/blob/1f082895/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelMongodbGridfsTest.java
--
diff --git 
a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelMongodbGridfsTest.java
 
b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelMongodbGridfsTest.java
new file mode 100644
index 000..c59fc0b
--- /dev/null
+++ 
b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelMongodbGridfsTest.java
@@ -0,0 +1,34 @@
+/**
+ * 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.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (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
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.itest.karaf;
+
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.ops4j.pax.exam.junit.PaxExam;
+
+@RunWith(PaxExam.class)
+public class CamelMongodbGridfsTest extends BaseKarafTest {
+
+public static final String COMPONENT = "gridfs"; 
//extractName(CamelMongodbGridfsTest.class);
+
+@Test
+public void test() throws Exception {
+testComponent("mongodb-gridfs", "gridfs");
+}
+
+
+}
\ No newline at end of file



[1/2] camel git commit: Fix javadoc typo

2016-09-02 Thread dkulp
Repository: camel
Updated Branches:
  refs/heads/master ee2c7f4f5 -> 1f082895f


Fix javadoc typo


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/b8d95f6a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/b8d95f6a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/b8d95f6a

Branch: refs/heads/master
Commit: b8d95f6a7adb448ad0a36e3138fe76e16cd56cb6
Parents: ee2c7f4
Author: Daniel Kulp 
Authored: Fri Sep 2 12:12:40 2016 -0400
Committer: Daniel Kulp 
Committed: Fri Sep 2 12:12:40 2016 -0400

--
 .../jetty9/springboot/JettyHttpComponentConfiguration9.java| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/camel/blob/b8d95f6a/components-starter/camel-jetty9-starter/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
--
diff --git 
a/components-starter/camel-jetty9-starter/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
 
b/components-starter/camel-jetty9-starter/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
index ee6fc07..85f7172 100644
--- 
a/components-starter/camel-jetty9-starter/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
+++ 
b/components-starter/camel-jetty9-starter/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
@@ -445,4 +445,4 @@ public class JettyHttpComponentConfiguration9 {
 HeaderFilterStrategy headerFilterStrategy) {
 this.headerFilterStrategy = headerFilterStrategy;
 }
-}
\ No newline at end of file
+}



camel git commit: Polish HazelcastRoutePolicy

2016-09-02 Thread lburgazzoli
Repository: camel
Updated Branches:
  refs/heads/master 917b2f27f -> ee2c7f4f5


Polish HazelcastRoutePolicy


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/ee2c7f4f
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/ee2c7f4f
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/ee2c7f4f

Branch: refs/heads/master
Commit: ee2c7f4f5c7e0add89fd7a0eb1a22f3e66454a8b
Parents: 917b2f2
Author: lburgazzoli 
Authored: Fri Sep 2 17:09:39 2016 +0200
Committer: lburgazzoli 
Committed: Fri Sep 2 17:09:39 2016 +0200

--
 .../hazelcast/policy/HazelcastRoutePolicy.java  | 78 +---
 1 file changed, 33 insertions(+), 45 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/camel/blob/ee2c7f4f/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java
--
diff --git 
a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java
 
b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java
index 55f91cc..9dbb089 100644
--- 
a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java
+++ 
b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java
@@ -37,21 +37,20 @@ import org.slf4j.LoggerFactory;
 public class HazelcastRoutePolicy extends RoutePolicySupport implements 
NonManagedService {
 private static final Logger LOGGER = 
LoggerFactory.getLogger(HazelcastRoutePolicy.class);
 
-private final Object lock;
 private final boolean managedInstance;
 private final AtomicBoolean leader;
 private final Set suspendedRoutes;
 private final ExecutorService executorService;
 
-private long tryLockTimeout;
-private TimeUnit tryLockTimeoutUnit;
 private HazelcastInstance instance;
 private String lockMapName;
 private String lockKey;
 private String lockValue;
-private boolean shouldStopConsumer;
+private long tryLockTimeout;
+private TimeUnit tryLockTimeoutUnit;
 private IMap locks;
 private volatile Future future;
+private boolean shouldStopConsumer;
 
 public HazelcastRoutePolicy() {
 this(HazelcastUtil.newInstance(), true);
@@ -66,15 +65,14 @@ public class HazelcastRoutePolicy extends 
RoutePolicySupport implements NonManag
 this.managedInstance = managedInstance;
 this.suspendedRoutes =  new HashSet<>();
 this.leader = new AtomicBoolean(false);
-this.lock = new Object();
-this.shouldStopConsumer = true;
 this.lockMapName = null;
 this.lockKey = null;
 this.lockValue = null;
-this.locks = null;
-this.future = null;
 this.tryLockTimeout = Long.MAX_VALUE;
 this.tryLockTimeoutUnit = TimeUnit.MILLISECONDS;
+this.locks = null;
+this.future = null;
+this.shouldStopConsumer = true;
 
 this.executorService =  Executors.newSingleThreadExecutor(r -> {
 Thread thread = new Thread(r, "Camel RoutePolicy");
@@ -101,17 +99,13 @@ public class HazelcastRoutePolicy extends 
RoutePolicySupport implements NonManag
 }
 
 @Override
-public void onStop(Route route) {
-synchronized (lock) {
-suspendedRoutes.remove(route);
-}
+public synchronized void onStop(Route route) {
+suspendedRoutes.remove(route);
 }
 
 @Override
 public synchronized void onSuspend(Route route) {
-synchronized (lock) {
-suspendedRoutes.remove(route);
-}
+suspendedRoutes.remove(route);
 }
 
 @Override
@@ -157,45 +151,39 @@ public class HazelcastRoutePolicy extends 
RoutePolicySupport implements NonManag
 }
 }
 
-private void startConsumer(Route route) {
-synchronized (lock) {
-try {
-if (suspendedRoutes.contains(route)) {
-startConsumer(route.getConsumer());
-suspendedRoutes.remove(route);
-}
-} catch (Exception e) {
-handleException(e);
+private synchronized void startConsumer(Route route) {
+try {
+if (suspendedRoutes.contains(route)) {
+startConsumer(route.getConsumer());
+suspendedRoutes.remove(route);
 }
+} catch (Exception e) {
+handleException(e);
 }
 }
 
-private void stopConsumer(Route route) {
-synchronized (lock) {
-try {
-if (!suspendedRoutes.contains(route)) {

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

2016-09-02 Thread buildbot
Author: buildbot
Date: Fri Sep  2 14:18:33 2016
New Revision: 996518

Log:
Production update by buildbot for camel

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

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

Modified: websites/production/camel/content/camel-2180-release.html
==
--- websites/production/camel/content/camel-2180-release.html (original)
+++ websites/production/camel/content/camel-2180-release.html Fri Sep  2 
14:18:33 2016
@@ -85,7 +85,7 @@

 
 
-Camel 2.18.0 
release (currently in progress)http://camel.apache.org/download.data/camel-box-v1.0-150x200.png; 
data-image-src="http://camel.apache.org/download.data/camel-box-v1.0-150x200.png;>New and NoteworthyWelcome to 
the 2.18.0 release which approx XXX issues resolved (new features, improvements 
and bug fixes such as...)The XSD schema for camelContext 
and its other configuration elements are now also documented (before it was 
only routes and rests). The XSD schema now also documents the 
default values of all the options.Introduced
 0;FluentProducerTemplateusing fluent builder style as a 
alternative toProducerTemplateAll CamelComponents that has options to be 
configured now supports and includeSpring Bootauto configuration for those 
options, so they can easily be configured in your application.yaml file when 
using Spring Boot with Camel.Camel Spring Boot now supports the sameadvanced 
configurationyou can do with Spring XML, if the beanshave been 
configured using@Beanstyle in a Spring Boot 
configuration class.Added Hystrix EIP as EIP pattern that uses native 
Netflixx Hystrix as the Circuit Bre
 aker implementation.This requires 
havingcamel-hystrixon the 
classpath.AddedService Call EIP as EIP pattern that allows to 
call a remote service in a distributed system, where the service is looked up 
from a service registry of some sorts, such as kubernetes, consul, etcd, 
zookeeper etc.Running Camel 
withSpring Boot now includes 
a Camel Health Indicator (actuator) if 
spring-boot-starter-actuatoris on the 
classpath.TheRest 
component allows to call REST services now (as a client), where you can pick 
one of the following Camel components for the HTTP transport: http, http4, 
netty4-http, jetty, restlet, undertow. You can also refer to a existing swagger 
api doc and include camel-swagger-java on the classpath, for automatic va
 lidation of rest endpoint is configured to use a valid rest 
operation/parameters.Spring-DM for OSGi moved out of camel-spring into 
a separate camel-spring-dm module.Improved 
theBean component to better match method parameter types 
when usingSimple language as parameter 
values.AddedBindyConverter that allows to 
implement custom data converters forBindyThe access in theRest DSL has been deprecated and no longer in use - 
its not part of swagger specification anymore.Camel-NATSnow uses JNATS client instead of the 
depreca
 ted Java_nats one.During startup ofCamelContext the services that are used as part of 
routes are now deferred being started to the end of the startup process. Some 
IoC frameworks like Spring can otherwise causes a circular dependency issue if 
services are started too early. A side effect is that if service startup 
failures happen when being started later, they are now wrapped in the 
FailedToStartupRouteException to better pin point which route thas 
the problem.Improved the startup sequence ofSpring Java Config to be similar toSpring Boot that helps prevent Spring 
initialization errors about circular dependencies issues.Added PATCH 
toRest DSLAdded "starts 
with" and "ends with" operator to the Simple<
 /a>language.AddedBeanIOSplitter toBeanIO that can be used with theSplitter EIP to split big payloads in 
streaming mode without reading the entire content into memory.Some of 
the AWScomponents allows to specify 
ARN in the endpoint configuration.The create operation 
inZookeeper now creates sub 
paths if missing.Added support for async mode forSERVLET component to leverage Asynchronous Servlet from 
the Servlet 3.0 spec.Beancomponent and Bean Languagevalidates method name must be 
a valid according to java identifier rules, and also if parameter syntax has an 
ending parenthesis.You can no
 w use@RunWith(CamelSpringBootJUnit4ClassRunner.class) to 
test CamelSpring 
Bootapplications and use the Camel test annotations fromSpring Testing such 
as@MockEndpoints.To turn on logging exhausted 
message body with the message history you can configure this easily on the 
CamelContext level withsetLogExhaustedMessageBodyCamel-Infinispan now supports 
Aggregation Repository: InfinispanLocalAggregationRepository and 
InfinispanRemoteAggregationRepositoryTheSQL Componentand ElSqlnow 

camel git commit: CAMEL-6399: hazelcast - route policy for having one route being master, and others as slaves

2016-09-02 Thread lburgazzoli
Repository: camel
Updated Branches:
  refs/heads/master 2ee7b6f99 -> 917b2f27f


CAMEL-6399: hazelcast - route policy for having one route being master, and 
others as slaves


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/917b2f27
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/917b2f27
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/917b2f27

Branch: refs/heads/master
Commit: 917b2f27fe1f2f41305de4438616a49ff3bdba03
Parents: 2ee7b6f
Author: lburgazzoli 
Authored: Fri Sep 2 15:37:38 2016 +0200
Committer: lburgazzoli 
Committed: Fri Sep 2 15:38:16 2016 +0200

--
 components/camel-hazelcast/pom.xml  |   5 +
 .../component/hazelcast/HazelcastUtil.java  |  47 +++
 .../hazelcast/policy/HazelcastRoutePolicy.java  | 304 +++
 .../policy/HazelcastRoutePolicyMain.java|  51 
 .../src/test/resources/hazelcast-default.xml|   8 +-
 .../src/test/resources/log4j2.properties|   4 +
 6 files changed, 416 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/camel/blob/917b2f27/components/camel-hazelcast/pom.xml
--
diff --git a/components/camel-hazelcast/pom.xml 
b/components/camel-hazelcast/pom.xml
index 8dc742f..60dfa49 100644
--- a/components/camel-hazelcast/pom.xml
+++ b/components/camel-hazelcast/pom.xml
@@ -71,6 +71,11 @@
 
 
   org.apache.logging.log4j
+  log4j-jul
+  test
+
+
+  org.apache.logging.log4j
   log4j-slf4j-impl
   test
 

http://git-wip-us.apache.org/repos/asf/camel/blob/917b2f27/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/HazelcastUtil.java
--
diff --git 
a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/HazelcastUtil.java
 
b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/HazelcastUtil.java
new file mode 100644
index 000..143a194
--- /dev/null
+++ 
b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/HazelcastUtil.java
@@ -0,0 +1,47 @@
+/**
+ * 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.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (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
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.hazelcast;
+
+import com.hazelcast.config.Config;
+import com.hazelcast.config.XmlConfigBuilder;
+import com.hazelcast.core.Hazelcast;
+import com.hazelcast.core.HazelcastInstance;
+
+public final class HazelcastUtil {
+private HazelcastUtil() {
+}
+
+public static HazelcastInstance newInstance() {
+Config cfg = new XmlConfigBuilder().build();
+
+// hazelcast.version.check.enabled is deprecated
+cfg.setProperty(
+"hazelcast.phone.home.enabled",
+System.getProperty("hazelcast.phone.home.enabled", "false")
+);
+cfg.setProperty(
+"hazelcast.logging.type",
+System.getProperty("hazelcast.logging.type", "slf4j")
+);
+
+return newInstance(cfg);
+}
+
+public static HazelcastInstance newInstance(Config cfg) {
+return Hazelcast.newHazelcastInstance(cfg);
+}
+}

http://git-wip-us.apache.org/repos/asf/camel/blob/917b2f27/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java
--
diff --git 
a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java
 
b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java
new file mode 100644
index 000..55f91cc
--- /dev/null
+++ 
b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java
@@ -0,0 +1,304 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed 

camel git commit: Consistent package name in Spring Boot examples

2016-09-02 Thread astefanutti
Repository: camel
Updated Branches:
  refs/heads/master 953d1010a -> 2ee7b6f99


Consistent package name in Spring Boot examples


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/2ee7b6f9
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/2ee7b6f9
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/2ee7b6f9

Branch: refs/heads/master
Commit: 2ee7b6f996d86e39844a9725792b5b52a1116427
Parents: 953d101
Author: Antonin Stefanutti 
Authored: Fri Sep 2 12:53:53 2016 +0200
Committer: Antonin Stefanutti 
Committed: Fri Sep 2 12:53:53 2016 +0200

--
 examples/camel-example-spring-boot-metrics/pom.xml | 2 +-
 .../org/apache/camel/example/spring/boot/metrics/Application.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/camel/blob/2ee7b6f9/examples/camel-example-spring-boot-metrics/pom.xml
--
diff --git a/examples/camel-example-spring-boot-metrics/pom.xml 
b/examples/camel-example-spring-boot-metrics/pom.xml
index 5786017..f5d3ccb 100644
--- a/examples/camel-example-spring-boot-metrics/pom.xml
+++ b/examples/camel-example-spring-boot-metrics/pom.xml
@@ -96,7 +96,7 @@
 spring-boot-maven-plugin
 ${spring.boot-version}
 
-  
org.apache.camel.example.springboot.metrics.Application
+  
org.apache.camel.example.spring.boot.metrics.Application
 
 
   

http://git-wip-us.apache.org/repos/asf/camel/blob/2ee7b6f9/examples/camel-example-spring-boot-metrics/src/main/java/org/apache/camel/example/spring/boot/metrics/Application.java
--
diff --git 
a/examples/camel-example-spring-boot-metrics/src/main/java/org/apache/camel/example/spring/boot/metrics/Application.java
 
b/examples/camel-example-spring-boot-metrics/src/main/java/org/apache/camel/example/spring/boot/metrics/Application.java
index bbeb2fd..b384529 100644
--- 
a/examples/camel-example-spring-boot-metrics/src/main/java/org/apache/camel/example/spring/boot/metrics/Application.java
+++ 
b/examples/camel-example-spring-boot-metrics/src/main/java/org/apache/camel/example/spring/boot/metrics/Application.java
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.camel.example.springboot.metrics;
+package org.apache.camel.example.spring.boot.metrics;
 
 import java.net.InetSocketAddress;
 import java.util.concurrent.TimeUnit;



camel git commit: Add Spring Boot REST DSL / JPA example

2016-09-02 Thread astefanutti
Repository: camel
Updated Branches:
  refs/heads/master 41fca5724 -> 953d1010a


Add Spring Boot REST DSL / JPA example


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/953d1010
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/953d1010
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/953d1010

Branch: refs/heads/master
Commit: 953d1010ad40d1cf6d30afe90e6d24784583ce2b
Parents: 41fca57
Author: Antonin Stefanutti 
Authored: Fri Sep 2 12:48:30 2016 +0200
Committer: Antonin Stefanutti 
Committed: Fri Sep 2 12:48:30 2016 +0200

--
 examples/README.md  |   1 +
 .../spring/boot/metrics/Application.java| 119 +++
 .../example/springboot/metrics/Application.java | 119 ---
 .../README.md   |  78 ++
 .../camel-example-spring-boot-rest-jpa/pom.xml  | 143 +++
 .../spring/boot/rest/jpa/Application.java   |  90 
 .../example/spring/boot/rest/jpa/Book.java  |  59 
 .../spring/boot/rest/jpa/BookRepository.java|  22 +++
 .../example/spring/boot/rest/jpa/Database.java  |  38 +
 .../example/spring/boot/rest/jpa/Order.java |  80 +++
 .../spring/boot/rest/jpa/OrderRepository.java   |  22 +++
 .../spring/boot/rest/jpa/OrderService.java  |  38 +
 .../src/main/resources/application-dev.yml  |  32 +
 .../src/main/resources/application.yml  |  52 +++
 .../src/main/resources/data.sql |  21 +++
 .../spring/boot/rest/jpa/ApplicationTest.java   |  86 +++
 .../src/test/resources/application.yml  |  24 
 examples/pom.xml|   1 +
 18 files changed, 906 insertions(+), 119 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/camel/blob/953d1010/examples/README.md
--
diff --git a/examples/README.md b/examples/README.md
index 3d80923..923e6b7 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -85,6 +85,7 @@ All examples have been sort by type/category
 * [camel-example-spring](camel-example-spring/README.md)
 * [camel-example-spring-boot](camel-example-spring-boot/README.md)
 * 
[camel-example-spring-boot-metrics](camel-example-spring-boot-metrics/README.md)
+* 
[camel-example-spring-boot-rest-sql](camel-example-spring-boot-rest-sql/README.md)
 * [camel-example-spring-javaconfig](camel-example-spring-javaconfig/README.md)
 * [camel-example-spring-jms](camel-example-spring-jms/README.md)
 * [camel-example-spring-security](camel-example-spring-security/README.md)

http://git-wip-us.apache.org/repos/asf/camel/blob/953d1010/examples/camel-example-spring-boot-metrics/src/main/java/org/apache/camel/example/spring/boot/metrics/Application.java
--
diff --git 
a/examples/camel-example-spring-boot-metrics/src/main/java/org/apache/camel/example/spring/boot/metrics/Application.java
 
b/examples/camel-example-spring-boot-metrics/src/main/java/org/apache/camel/example/spring/boot/metrics/Application.java
new file mode 100644
index 000..bbeb2fd
--- /dev/null
+++ 
b/examples/camel-example-spring-boot-metrics/src/main/java/org/apache/camel/example/spring/boot/metrics/Application.java
@@ -0,0 +1,119 @@
+/**
+ * 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.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (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
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.example.springboot.metrics;
+
+import java.net.InetSocketAddress;
+import java.util.concurrent.TimeUnit;
+
+import com.codahale.metrics.MetricFilter;
+import com.codahale.metrics.MetricRegistry;
+import com.codahale.metrics.graphite.GraphiteReporter;
+import com.codahale.metrics.graphite.GraphiteSender;
+import com.codahale.metrics.graphite.GraphiteUDP;
+import org.apache.camel.CamelContext;
+import org.apache.camel.builder.RouteBuilder;
+import 
org.apache.camel.component.metrics.routepolicy.MetricsRoutePolicyFactory;
+import 

camel git commit: Upgrade Kubernetes/Openshift client to version 1.4.7

2016-09-02 Thread acosentino
Repository: camel
Updated Branches:
  refs/heads/master 90e9be1c7 -> 41fca5724


Upgrade Kubernetes/Openshift client to version 1.4.7


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/41fca572
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/41fca572
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/41fca572

Branch: refs/heads/master
Commit: 41fca5724a9bb45175f9fe32692da84520b976f6
Parents: 90e9be1
Author: Andrea Cosentino 
Authored: Fri Sep 2 08:33:20 2016 +0200
Committer: Andrea Cosentino 
Committed: Fri Sep 2 08:33:20 2016 +0200

--
 parent/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/camel/blob/41fca572/parent/pom.xml
--
diff --git a/parent/pom.xml b/parent/pom.xml
index 5e74d5a..48081a5 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -374,7 +374,7 @@
 4.0.6
 6.4.0.Final
 0.4.9
-1.4.6
+1.4.7
 1.0.53
 2.3.0_3
 1.8
@@ -459,7 +459,7 @@
 6.8.2
 2.4.1
 2.7.0.Final
-1.4.6
+1.4.7
 6.4.0.Final
 2.0.8_6
 2.4_5



camel git commit: Upgrade Boon to version 0.34

2016-09-02 Thread acosentino
Repository: camel
Updated Branches:
  refs/heads/master a36c0a8f1 -> 90e9be1c7


Upgrade Boon to version 0.34


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/90e9be1c
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/90e9be1c
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/90e9be1c

Branch: refs/heads/master
Commit: 90e9be1c77135317654a6d5e0e66e94c1c81a790
Parents: a36c0a8
Author: Andrea Cosentino 
Authored: Fri Sep 2 08:17:50 2016 +0200
Committer: Andrea Cosentino 
Committed: Fri Sep 2 08:17:50 2016 +0200

--
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/camel/blob/90e9be1c/parent/pom.xml
--
diff --git a/parent/pom.xml b/parent/pom.xml
index b953b36..5e74d5a 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -75,7 +75,7 @@
 1.4.6
 3.1.0
 2.0b6
-0.33
+0.34
 1.54
 3.2.1
 2.63.0