Erik Andersen [
https://community.jboss.org/people/crooked.mile] created the discussion
"JBoss 7 Thread Pool"
To view the discussion, visit:
https://community.jboss.org/message/772383#772383
--------------------------------------------------------------
Hi
I am new to jboss and especially jboss 7. I am working on an application that uses a jboss
4.2.3 thread pool like so:
ObjectName threadPoolObjectName = new
ObjectName("jboss.jca:service=WorkManagerThreadPool");
threadPool = (ThreadPool) mbeanServer.getAttribute(threadPoolObjectName,
"Instance");
threadPool.run(new Thread(new MyClientStarter(), "MyClientThread"));
How is the above done in JBoss 7.1.1? Can someone point me in the right direction please
as I am struggling to find documentation on using subsystem in jboss. E.g. is a subsystem
the new name for an MBean? How does one use a subsystem in Java? Stuff like that.
Thanks very much.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/772383#772383]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]