sharyak [
http://community.jboss.org/people/sharyak] created the discussion
"Concern regarding running JMSTaskServer as a thread from the EJB"
To view the discussion, visit:
http://community.jboss.org/message/621765#621765
--------------------------------------------------------------
Hello,
I am using JMS Task Sever. I can see that JMSTaskServer implementes Runnable. I am using
process engine in the J2EE enviroment.
As far as I understand, I need to write code like the one below. However, in EJB threads
are not allowed. What should I do ?
JMSTaskServer taskServer = new JMSTaskServer(jmsTaskServerHandler, properties, ctx);
Thread thread = new Thread(taskServer);
thread.start();
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/621765#621765]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]