Daniel Marchese [
https://community.jboss.org/people/marched] created the discussion
"Re: Specifying a different WorkManager for a custom resource ada"
To view the discussion, visit:
https://community.jboss.org/message/801161#801161
--------------------------------------------------------------
Here is how I impemented it with JBoss 5.1.0 :
1- Deploy a custom-jboss-beans.xml file :
2- Use it in code (exception handling omitted) :
MBeanServer server = MBeanServerLocator.locateJBoss();WorkManager wm = (WorkManager)
server.getAttribute(new ObjectName("custom:service=CustomWorkManager"),
"Instance");wm.startWork(aWork);
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/801161#801161]
Start a new discussion in IronJacamar at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]