Jaber C. Mourad [
http://community.jboss.org/people/newbeewan] created the discussion
"how to override mail configuration ?"
To view the discussion, visit:
http://community.jboss.org/message/548502#548502
--------------------------------------------------------------
Hi,
It is a stupid configuration question in jbpm 4 !
I have in my classpath a jbpm.mail.properties and it works !
For test purpose, I have an other properties file to switch to an other mail server which
is not in the default package.
I configure my jbpm.cfg.xml to override the default configuration :
<import resource="jbpm.default.cfg.xml" />
<import resource="jbpm.tx.spring.cfg.xml" />
<import resource="jbpm.jpdl.cfg.xml" />
<import resource="jbpm.identity.cfg.xml" />
<import resource="jbpm.businesscalendar.cfg.xml" />
<import resource="jbpm.jobexecutor.cfg.xml" />
...
<transaction-context>
<mail-session>
<mail-server>
<session-properties
resource="my/path/config/jbpm.mail.properties" />
</mail-server>
</mail-session>
</transaction-context>
...
And it doesn't have any effect on jbpm :(
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/548502#548502]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]