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/18 12:37:33 UTC

[2/6] camel git commit: CAMEL-6955: Added validate setting to netty codec

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/c5567567
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c5567567
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c5567567

Branch: refs/heads/camel-2.15.x
Commit: c556756726b11d493399a2c6ff709930a6b6cf86
Parents: 0c1f31c
Author: Willem Jiang <wi...@gmail.com>
Authored: Tue Mar 17 22:29:12 2015 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Wed Mar 18 19:35:30 2015 +0800

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


http://git-wip-us.apache.org/repos/asf/camel/blob/c5567567/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);