[jbpm-dev] [Design of JBoss jBPM] - Re: schema for mail template and activity
alex.guizar@jboss.com
do-not-reply at jboss.com
Tue Apr 14 03:14:47 EDT 2009
You don't. After some more analysis, I think the template should be a value class, just representing the data provided in the configuration. The mail producer should be associated to the mail activity. The class can be indicated explicitly (see below), otherwise one of the built-in producers will be determined from the template content: HtmlMailProducer if there is an element, SimpleMailProducer otherwise.
<mail-activity template='mytemplate' producer='org.example.CustomMailProducer />
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225246#4225246
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225246
More information about the jbpm-dev
mailing list