Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9556F178AF for ; Tue, 17 Mar 2015 14:37:35 +0000 (UTC) Received: (qmail 90277 invoked by uid 500); 17 Mar 2015 14:37:35 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 90229 invoked by uid 500); 17 Mar 2015 14:37:35 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 90220 invoked by uid 99); 17 Mar 2015 14:37:35 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2015 14:37:35 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0DB9CE0FBF; Tue, 17 Mar 2015 14:37:34 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ningjiang@apache.org To: commits@camel.apache.org Message-Id: <2f10f4a6858147129fa18980f54e85a9@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: camel git commit: CAMEL-6955: Added validate setting to netty codec Date: Tue, 17 Mar 2015 14:37:35 +0000 (UTC) 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 Authored: Tue Mar 17 22:29:12 2015 +0800 Committer: Willem Jiang 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);