camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [3/3] camel git commit: CAMEL-11004: camel-connector - Allow to define what the data type is as output/input.
Date Tue, 14 Mar 2017 13:31:55 GMT
CAMEL-11004: camel-connector - Allow to define what the data type is as output/input.


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

Branch: refs/heads/master
Commit: 69cc2cb5563aa6ff1736e02ff89f83d5ab52f087
Parents: aa00527
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Tue Mar 14 14:31:38 2017 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Mar 14 14:31:38 2017 +0100

----------------------------------------------------------------------
 .../org/apache/camel/component/connector/ConnectorModel.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/69cc2cb5/connectors/camel-connector/src/main/java/org/apache/camel/component/connector/ConnectorModel.java
----------------------------------------------------------------------
diff --git a/connectors/camel-connector/src/main/java/org/apache/camel/component/connector/ConnectorModel.java
b/connectors/camel-connector/src/main/java/org/apache/camel/component/connector/ConnectorModel.java
index 7419256..4ce19cd 100644
--- a/connectors/camel-connector/src/main/java/org/apache/camel/component/connector/ConnectorModel.java
+++ b/connectors/camel-connector/src/main/java/org/apache/camel/component/connector/ConnectorModel.java
@@ -44,8 +44,8 @@ final class ConnectorModel {
     private static final Pattern JAVA_TYPE_PATTERN = Pattern.compile("\"javaType\"\\s?:\\s?\"([\\w|.]+)\".*");
     private static final Pattern BASE_JAVA_TYPE_PATTERN = Pattern.compile("\"baseJavaType\"\\s?:\\s?\"([\\w|.]+)\".*");
     private static final Pattern BASE_SCHEME_PATTERN = Pattern.compile("\"baseScheme\"\\s?:\\s?\"([\\w|.]+)\".*");
-    private static final Pattern INPUT_DATA_TYPE_PATTERN = Pattern.compile("\"inputDataType\"\\s?:\\s?\"(\\*|[\\w|.:]+)\".*");
-    private static final Pattern OUTPUT_DATA_TYPE_PATTERN = Pattern.compile("\"outputDataType\"\\s?:\\s?\"([\\w|.:]+)\".*");
+    private static final Pattern INPUT_DATA_TYPE_PATTERN = Pattern.compile("\"inputDataType\"\\s?:\\s?\"(\\*|[\\w|.:*]+)\".*");
+    private static final Pattern OUTPUT_DATA_TYPE_PATTERN = Pattern.compile("\"outputDataType\"\\s?:\\s?\"([\\w|.:*]+)\".*");
 
     private final String componentName;
     private final String className;


Mime
View raw message