[jboss-user] [JBoss jBPM] - Re: Custom mail class

kukeltje do-not-reply at jboss.com
Thu Jul 23 12:51:19 EDT 2009


The JpdlXmlReader class does this:


  |     String mailClassName = Mail.class.getName();
  |     if (JbpmConfiguration.Configs.hasObject("jbpm.mail.class.name"))
  |     {
  |       mailClassName = JbpmConfiguration.Configs.getString("jbpm.mail.class.name");
  |     }
  |     else if (JbpmConfiguration.Configs.hasObject("mail.class.name"))
  |     {
  |       mailClassName = JbpmConfiguration.Configs.getString("mail.class.name");
  |     }
  | 
  |     Delegation delegation = new Delegation(mailClassName);
  | 

So you could try setting the param to mail.class.name  (see no reason why that would make a difference though). Or check whether your config file is picked up at all.

You can always set a breakpoint in this class when running unittests and see what happens.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245630#4245630

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245630



More information about the jboss-user mailing list