JBoss Community

Re: MinaTaskServer - why to start in a thread?

created by Mauricio Salatino in jBPM - View the full discussion

For testing purposes we start the MinaTaskServer in a different thread. If you want to create a different java app that starts the server directly (the simple option) you can do it. But if you want to start the MinaTaskServer inside the thred that start the process, if that thread dies the task server that should remain up will be stopped automatically.

 

Your processes and the human task server have different lifecycles. It's up to you where and how to start them.

Greetings.

Reply to this message by going to Community

Start a new discussion in jBPM at Community