You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2010/10/18 12:15:51 UTC
svn commit: r1023727 -
/james/server/trunk/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/camel/CamelMailProcessorList.java
Author: norman
Date: Mon Oct 18 10:15:50 2010
New Revision: 1023727
URL: http://svn.apache.org/viewvc?rev=1023727&view=rev
Log:
use processorname as routeId() in camel
Modified:
james/server/trunk/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/camel/CamelMailProcessorList.java
Modified: james/server/trunk/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/camel/CamelMailProcessorList.java
URL: http://svn.apache.org/viewvc/james/server/trunk/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/camel/CamelMailProcessorList.java?rev=1023727&r1=1023726&r2=1023727&view=diff
==============================================================================
--- james/server/trunk/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/camel/CamelMailProcessorList.java (original)
+++ james/server/trunk/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/camel/CamelMailProcessorList.java Mon Oct 18 10:15:50 2010
@@ -336,8 +336,8 @@ public class CamelMailProcessorList impl
mailets.put(processorName, new ArrayList<MailetManagement>());
matchers.put(processorName, new ArrayList<MatcherManagement>());
- RouteDefinition processorDef = from(getEndpoint(processorName)).inOnly()
- // store the logger in properties
+ RouteDefinition processorDef = from(getEndpoint(processorName)).routeId(processorName).inOnly()
+ // store the logger in properties
.setProperty(MatcherSplitter.LOGGER_PROPERTY, constant(logger));
final List<HierarchicalConfiguration> mailetConfs = processorConf.configurationsAt("mailet");
@@ -439,7 +439,7 @@ public class CamelMailProcessorList impl
}
processorDef
- // start choice
+ // start choice
.choice()
// when the mail state did not change till yet ( the end of the route) we need to call the TerminatingMailet to
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org