Tun Mang [http://community.jboss.org/people/tunmang] created the discussion

"Can a mail node stop to contact mail server and just generate a mail file?"

To view the discussion, visit: http://community.jboss.org/message/553833#553833

--------------------------------------------------------------
Hi there:

Can a mail node defined as shown below in order to achieve 3 things:

<mail name="Generate A Mail" class="a-mail-handler-class"
         template="a-test-mail-template" > 
 
      <transition name="Mail is ready" to="update database"/>     
</mail>

(1) stop the mail session (or mail-sending session) to contact the mail server 
(defined in jbpm.mail.properties) because the mail server is not reachable.

(2) get the mail message (because we want to generate a local file).

(3) the mail message is generated (and fetched) based upon the "template" 
defined in the mail node's xml, not cooked up in the handler class.

If this is achievable, the mail handler class should extend which jbpm base 
class, or implement which jbpm interface ?

Thanks a lot for your help in advance.


Tun Mang

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/553833#553833]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to