[jboss-user] [JBoss jBPM] - Logging mails in jBPM 4.0.CR1

nilspreusker do-not-reply at jboss.com
Wed Jun 17 09:01:39 EDT 2009

Dear jbpm community,

I'm wondering if there is a way to log mails instead of sending them in jBPM 4. This would be useful for unit tests. I thought it might be possible to write a custom MailProducer or MailSession that overrides the send method and just logs the mail message rather than sending it. I'd also be interested to know how to actually make jBPM use a custom MailProducer, as the example in the user guide (jbpm-4.0.CR1) currently only shows how to override the default MailProducerImpl in java, but misses the configuration that is required to tell the workflow engine to use the custom producer instead of the default one.

Thanks in advance for your help!

Kind regards, Nils

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238217#4238217

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238217

More information about the jboss-user mailing list