[jboss-user] [jBPM] - how to override mail configuration ?
Jaber C. Mourad
do-not-reply at jboss.com
Thu Jun 17 08:45:26 EDT 2010
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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100617/9a765fb0/attachment.html
More information about the jboss-user
mailing list