camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject camel git commit: CAMEL-6955: Added validate setting to netty codec
Date Tue, 17 Mar 2015 14:37:35 GMT
Repository: camel
Updated Branches:
  refs/heads/master b232d59dc -> 0dedb66da


CAMEL-6955: Added validate setting to netty codec


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

Branch: refs/heads/master
Commit: 0dedb66dad3ffecdf2fe8445d6e56f5a72823990
Parents: b232d59
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Tue Mar 17 22:29:12 2015 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Tue Mar 17 22:37:22 2015 +0800

----------------------------------------------------------------------
 .../component/hl7/HL7MLLPConfigAwareChannelHandlerFactory.java   | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0dedb66d/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/HL7MLLPConfigAwareChannelHandlerFactory.java
----------------------------------------------------------------------
diff --git a/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/HL7MLLPConfigAwareChannelHandlerFactory.java
b/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/HL7MLLPConfigAwareChannelHandlerFactory.java
index 2444c78..82be6d0 100644
--- a/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/HL7MLLPConfigAwareChannelHandlerFactory.java
+++ b/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/HL7MLLPConfigAwareChannelHandlerFactory.java
@@ -34,6 +34,10 @@ abstract class HL7MLLPConfigAwareChannelHandlerFactory extends DefaultChannelHan
     public HL7MLLPConfigAwareChannelHandlerFactory(HL7MLLPConfig config) {
         this.config = config;
     }
+    
+    public void setValidate(boolean validate) {
+        config.setValidate(validate);
+    }
 
     public void setCharset(Charset charset) {
         config.setCharset(charset);


Mime
View raw message