Community

how to override mail configuration ?

reply from HuiSheng Xu in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community