[QFJ-434] Unable to deregister jmx mbeans exported via JmxExporter Created: 06/May/09 Updated: 15/Nov/12 Resolved: 23/May/11 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.4.0 |
Fix Version/s: | 1.5.1 |
Type: | Bug | Priority: | Trivial |
Reporter: | Parwinder Sekhon | Assignee: | Steve Bate |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Description |
When I call a "stop" method on my wrapper around SocketAcceptor I would really like to be able to deregister its mbeans too. If you want to close a SocketAcceptor or SocketInitatior and then recreate further instances of them, then there is no way to deregister their mbeans. I know I can register new ones to replace the old ones, but lacking the ability to deregister the old ones, means if I change configuration and reduce the number of available sessions for the SocketAcceptor, the old sessions are still available via JMX. |
Comments |
Comment by Steve Bate [ 23/May/11 ] |
Added registration and deregistration operations to the JmxExporter (legacy export method is deprecated). Updated the Executor example to demonstration deregistration and updated the user manual. |