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#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...