[jboss-user] [IronJacamar] - Re: Specifying a different WorkManager for a custom resource ada
Daniel Marchese
do-not-reply at jboss.com
Wed Mar 6 16:22:34 EST 2013
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&containerType=14&container=2098]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130306/0df40c24/attachment.html
More information about the jboss-user
mailing list