You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2015/03/17 15:37:35 UTC

camel git commit: CAMEL-6955: Added validate setting to netty codec

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 <wi...@gmail.com>
Authored: Tue Mar 17 22:29:12 2015 +0800
Committer: Willem Jiang <wi...@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);