My understanding is that the CommandListenerBean and CommandServiceBean are designed to
handle any Command (that has a class defined that implements the Command interface), not
just Job Commands. However, it appears the CommandListenerBean always creates a
ExecuteJobCommand, which tries to load a job using the jobId..
I think CommandListernerBean should check for the presence of a JobId (or non 0 jobId),
and if not present, then not create a ExecuteJobCommand, but instead get the command from
the message and execute it. Currently, the code does not even look in the message for a
command, but always assumes its a job and gets it from the Job table.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003461#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...