Hi;
As I re-read chapter 10 and 11, "WorkCompletedException" may be thrown after a
"Work" instance is run by a WorkManager (i.e, after it is accepted and started).
In chapter 11, spec. says that if the "WorkManager" fails to setup work
contexts that are provided by the "Work" instance before running the work
instance, it throws WorkCompletedException with specific error codes.
In my implementation, I put "setupWorkContext" code into the
"doWork,startWork,scheduleWork" section of the WorkManagerImpl. It means that,
exception may be thrown by the time resource adapter submits works to the manager, so we
are able to catch wrong submissions early.
Is it true or we have to change the location of the "setupWorkContext" to other
place?
I am confused here.
Thanks;
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243436#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...