Huisheng Xu [
http://community.jboss.org/people/rebody] replied to the discussion
"Mail template for custom MailProducer"
To view the discussion, visit:
http://community.jboss.org/message/538404#538404
--------------------------------------------------------------
Hi Kevin,
The codes I showed you comes from org.jbpm.jpdl.internal.xml.JpdlParser.java. The PVM
will parse mail-template and register them to MailTemplateRegistry, so we could find
MailTemplate by template name from MailTemplateRegistry. I cannot find a way to inject
MailTemplate object only use the XML configuration. So I am afraid that we have to write
these codes to get MailTemplate.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/538404#538404]
Start a new discussion in jBPM Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]