-
1. Re: Concern regarding running JMSTaskServer as a thread from the EJB
a.kushunin Sep 2, 2011 9:57 AM (in response to sharyak)Yep, I also have the same question...
-
2. Re: Concern regarding running JMSTaskServer as a thread from the EJB
salaboy21 Sep 2, 2011 10:32 AM (in response to a.kushunin)Exactly, the JMSTaskServer was created for stand alone requirements. if you want to create something similar we can work on that using a very similar codebase that you have in the internal implementations of the JMSTaskServer.
Cheers
-
3. Re: Concern regarding running JMSTaskServer as a thread from the EJB
a.kushunin Sep 2, 2011 10:53 AM (in response to salaboy21)Mauricio, if I understand you correctly, jBPM 5.x don't have possibility to run TaskServer via EJB, while Mina and HornetQ must be run in the same manner.
It will be grate to have possibility to start TaskServer on JBoss startup via EJB 3.1 @Startup.
-
4. Re: Concern regarding running JMSTaskServer as a thread from the EJB
salaboy21 Sep 2, 2011 11:04 AM (in response to a.kushunin)Hi Aliaksei,
It doesn't mean that the project doesn't allow you to do that. We can easily create that for you or if you already create that you can donate that back to the community. As you mention we can easily support an EJB with @Startup that runs almost the same code that the JMSTaskServer is running.
Cheers
-
5. Re: Concern regarding running JMSTaskServer as a thread from the EJB
a.kushunin Sep 2, 2011 11:17 AM (in response to salaboy21)Mauricio, as I can see from the code, it'll have a lot of work connected to EntityManagerFactory and all work with it. Because at the momment all transactions coordination is implemented in standalone mode.
imho, it will be grate to have one extra implementation (I mean something extends) of TaskServer for JEE enviroment, or I'm missing something?
-
6. Re: Concern regarding running JMSTaskServer as a thread from the EJB
salaboy21 Sep 2, 2011 11:27 AM (in response to a.kushunin)Exactly, I don't have the code here, but it will be like a more generic big brother of the current implementation. I'm not sure if you can extend it (using inheritance of the current code) to adapt it to JEE environments, but we can work out on that.
Cheers
-
7. Re: Concern regarding running JMSTaskServer as a thread from the EJB
a.kushunin Sep 2, 2011 11:35 AM (in response to salaboy21)Should I post corresponding request to jbpm Jira?
-
8. Re: Concern regarding running JMSTaskServer as a thread from the EJB
salaboy21 Sep 2, 2011 11:54 AM (in response to a.kushunin)yes please.. and if you can assign it to me I can work on that as soon as I finish my current assignments
-
9. Re: Concern regarding running JMSTaskServer as a thread from the EJB
a.kushunin Sep 2, 2011 12:31 PM (in response to salaboy21)created corresponding Feature Request : https://issues.jboss.org/browse/JBPM-3351
I just don't have rights to assign issues, so it's assignet to Kris by default.
WBR, Aliaksei