Author: lektran
Date: Thu Apr 8 04:08:38 2010
New Revision: 931772
URL:
http://svn.apache.org/viewvc?rev=931772&view=revLog:
dispatcherName wasn't being retrieved from the container config, causes a warning in the logs about the default dispatcher being assumed.
Modified:
ofbiz/trunk/framework/birt/src/org/ofbiz/birt/container/BirtContainer.java
Modified: ofbiz/trunk/framework/birt/src/org/ofbiz/birt/container/BirtContainer.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/birt/src/org/ofbiz/birt/container/BirtContainer.java?rev=931772&r1=931771&r2=931772&view=diff==============================================================================
--- ofbiz/trunk/framework/birt/src/org/ofbiz/birt/container/BirtContainer.java (original)
+++ ofbiz/trunk/framework/birt/src/org/ofbiz/birt/container/BirtContainer.java Thu Apr 8 04:08:38 2010
@@ -99,6 +99,7 @@ public class BirtContainer implements Co
delegator = DelegatorFactory.getDelegator(delegatorName);
// get the dispatcher
+ dispatcherName = ContainerConfig.getPropertyValue(cc, "dispatcher-name", "JavaMailDispatcher");
dispatcher = GenericDispatcher.getLocalDispatcher(dispatcherName, delegator);
context.put("delegator", delegator);