anonymous wrote : 2) There is an MDB called command listener (cmdlistener) that reads
commands from a queue and passes them to the SLSB called command service (cmdservice) for
execution.
Yes, I know, as I commented before. But this MDB is only able to read Commands
(org.jbpm.command.Command), and however, the objects that the JmsMessageServiceImpl is
putting into its queue are Jobs (org.jbpm.job.Job with ExecuteActionJob and ExecuteNodeJob
as final classes). So, I'm not sure if the idea is to have another MDB to consume
those jobs (replacing the current JobExecutorThread and related servlet), or if perhaps
the Commands are thought to replace these jobs. Now, there are two entities:
MessageService and CommandService that seems very similar to me. So I would like to know
what's the conceptual difference between these two things.
If the jobs and the MessageService are going to be used in the JMS scenario (probably, as
we have a JMSMessageServiceImpl), we should need something to consume those jobs, task
that is now performed by the JobExecutor and the ServletJobExecutor. I think an MDB is
really more suitable into a J2EE and clustered environment.
I don't know if I'm explaining myself clearly. Please, make me know if this sounds
confusing for you.
Best regards, and thanks a lot for your comments.
--
Manuel.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979629#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...