[jboss-user] [jBPM] - how to override mail configuration ?

HuiSheng Xu do-not-reply at jboss.com
Thu Jun 17 20:54:13 EDT 2010


HuiSheng Xu [http://community.jboss.org/people/rebody] replied to the discussion

"how to override mail configuration ?"

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

--------------------------------------------------------------
Hi Jaber,

I am afraid jbpm4 IoC container didn't allow override a component.  It allow we define multiply components which have same type.  And when jbpm4 try to find a component from IoC container, it will use class type as the query parameter,  if there are multiple components having save type, then it will return the first.

So I suggest you should remove the default mail-session configuration when you do test.

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

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

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/ddb3454c/attachment.html 


More information about the jboss-user mailing list