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 = { + } }