Package org.apache.activemq.artemis.ra
Class ActiveMQRAMetaData
java.lang.Object
org.apache.activemq.artemis.ra.ActiveMQRAMetaData
- All Implemented Interfaces:
ManagedConnectionMetaData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns Product name of the underlying EIS instance connected through the ManagedConnection.Returns product version of the underlying EIS instance connected through the ManagedConnection.intReturns maximum limit on number of active concurrent connections that an EIS instance can support across client processes.Returns name of the user associated with the ManagedConnection instance.
-
Constructor Details
-
ActiveMQRAMetaData
-
-
Method Details
-
getEISProductName
Returns Product name of the underlying EIS instance connected through the ManagedConnection.- Specified by:
getEISProductNamein interfaceManagedConnectionMetaData- Returns:
- Product name of the EIS instance.
- Throws:
ResourceException- if an error occurs
-
getEISProductVersion
Returns product version of the underlying EIS instance connected through the ManagedConnection.- Specified by:
getEISProductVersionin interfaceManagedConnectionMetaData- Returns:
- Product version of the EIS instance
- Throws:
ResourceException- if an error occurs
-
getUserName
Returns name of the user associated with the ManagedConnection instance. The name corresponds to the resource principal under whose whose security context, a connection to the EIS instance has been established.- Specified by:
getUserNamein interfaceManagedConnectionMetaData- Returns:
- name of the user
- Throws:
ResourceException- if an error occurs
-
getMaxConnections
Returns maximum limit on number of active concurrent connections that an EIS instance can support across client processes. If an EIS instance does not know about (or does not have) any such limit, it returns a 0.- Specified by:
getMaxConnectionsin interfaceManagedConnectionMetaData- Returns:
- Maximum limit for number of active concurrent connections
- Throws:
ResourceException- if an error occurs
-