[jboss-user] [jBPM] - Concern regarding running JMSTaskServer as a thread from the EJB

sharyak do-not-reply at jboss.com
Thu Aug 18 16:44:16 EDT 2011


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110818/61f2d517/attachment.html 


More information about the jboss-user mailing list