-
Jan 24th, 2012, 12:34 AM
#1
JMX in Spring: Is MBeanServerConnectionFactoryBean Thread-Safe
I have a spring based web-application that needs to get data from ActiveMQ via a JMX connection. I am using MBeanServerConnectionFactoryBean(in Spring) to get various MBean attributes from ActiveMQ.
I have only one MBeanServerConnectionFactoryBean as a member variable, which is used to get the data. If multiple requests/threads come concurrently will there be any issues. Will there be any race condition.
Please suggest the best way to keep the code thread-safe.
Thanks
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules