[JBoss jBPM] - Re: Custom mail class
by kukeltje
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
16 years, 8 months