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: [email protected]
For additional commands, e-mail: [email protected]