camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: CAMEL-7999: Component doc. @UriPath must be in order.
Date Mon, 02 Mar 2015 08:01:33 GMT
Repository: camel
Updated Branches:
  refs/heads/master 419071ff0 -> 50b2aae2d


CAMEL-7999: Component doc. @UriPath must be in order.


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

Branch: refs/heads/master
Commit: 50b2aae2d80849df30f5e3b2d48d33147b827613
Parents: 419071f
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Mar 2 09:02:44 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Mar 2 09:02:44 2015 +0100

----------------------------------------------------------------------
 .../apache/camel/component/flatpack/FlatpackEndpoint.java    | 6 +++---
 .../org/apache/camel/component/sparkrest/SparkEndpoint.java  | 8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/50b2aae2/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/FlatpackEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/FlatpackEndpoint.java
b/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/FlatpackEndpoint.java
index 152f091..269342c 100644
--- a/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/FlatpackEndpoint.java
+++ b/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/FlatpackEndpoint.java
@@ -50,15 +50,15 @@ import org.apache.camel.util.ResourceHelper;
  */
 @UriEndpoint(scheme = "flatpack", syntax = "flatpack:type:resourceUri", consumerClass = FlatpackConsumer.class,
label = "transformation")
 public class FlatpackEndpoint extends DefaultPollingEndpoint {
-    @UriPath @Metadata(required = "true")
-    protected String resourceUri;
 
     private LoadBalancer loadBalancer = new RoundRobinLoadBalancer();
     private ParserFactory parserFactory = DefaultParserFactory.getInstance();
    
     @UriPath @Metadata(required = "true")
     private FlatpackType type;
-    
+    @UriPath @Metadata(required = "true")
+    private String resourceUri;
+
     @UriParam(defaultValue = "true")
     private boolean splitRows = true;
     @UriParam

http://git-wip-us.apache.org/repos/asf/camel/blob/50b2aae2/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkEndpoint.java
b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkEndpoint.java
index e83b715..c885964 100644
--- a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkEndpoint.java
+++ b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkEndpoint.java
@@ -30,16 +30,16 @@ import spark.route.HttpMethod;
 
 @UriEndpoint(scheme = "spark-rest", syntax = "spark-rest:verb:path", consumerOnly = true,
consumerClass =  SparkConsumer.class, label = "rest")
 public class SparkEndpoint extends DefaultEndpoint {
-    @UriParam
-    SparkConfiguration sparkConfiguration;
     @UriPath @Metadata(required = "true")
     private String verb;
     @UriPath @Metadata(required = "true")
     private String path;
     @UriParam
-    private SparkBinding sparkBinding;
-    @UriParam
     private String accept;
+    @UriParam
+    private SparkConfiguration sparkConfiguration;
+    @UriParam
+    private SparkBinding sparkBinding;
 
     public SparkEndpoint(String endpointUri, Component component) {
         super(endpointUri, component);


Mime
View raw message