From c0617c41fdbc0d96bae16babf1c6a951ad4fff5f Mon Sep 17 00:00:00 2001 From: "Arsen A. Gutsal" Date: Sat, 21 Mar 2015 09:09:57 +0200 Subject: [PATCH] removed log debug statement, added few spaces to GnutchConfigTemplate.groovy --- GnutchGrailsPlugin.groovy | 1 - grails-app/conf/GnutchConfigTemplate.groovy | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/GnutchGrailsPlugin.groovy b/GnutchGrailsPlugin.groovy index e11f596..c512e1b 100644 --- a/GnutchGrailsPlugin.groovy +++ b/GnutchGrailsPlugin.groovy @@ -27,7 +27,6 @@ Use "Apache Camel":http://camel.apache.org/ as integration framework and "Apache def doWithSpring = { - println "|:" + application.config.gnutch // Defaulting config def conf = application.config.gnutch ?: [:] diff --git a/grails-app/conf/GnutchConfigTemplate.groovy b/grails-app/conf/GnutchConfigTemplate.groovy index e2f2003..90ed6f5 100644 --- a/grails-app/conf/GnutchConfigTemplate.groovy +++ b/grails-app/conf/GnutchConfigTemplate.groovy @@ -32,13 +32,16 @@ gnutch { // org.apache.camel.Processor definition. Called after XML is built // ex.in.body contains XML document (actually contains reference to org.w3c.org.Document) postXML = { Exchange ex -> + } validate = { Exchange ex -> + } // Route definition. Should consume from 'direct:publish' and provide some business logic publish = { + } }