JBoss Community

Multi-threaded process execution?

reply from HuiSheng Xu in jBPM - View the full discussion

Hi Chris,

 

jBPM 4.x provide a IoC container to maintain all of internal components.  Each time we saw EnvironmentImpl.getFromCurrent(),  it means that we get a component from IoC container.

 

The EnvironmentImpl use ThreadLocal to store the current context which stored component,  so it maybe cannot be used in Multi-Thread scenario directly.

Reply to this message by going to Community

Start a new discussion in jBPM at Community