CursorRuntimeMBean, javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, RuntimeMBean, WebLogicMBeanJMSDestinationRuntimeMBean, JMSDurableSubscriberRuntimeMBean, JMSMessageCursorRuntimeMBean, JMSMessageManagementRuntimeMBean, JMSRemoteEndpointRuntimeMBean, JMSServerRuntimeMBean, SAFMessageCursorRuntimeMBean, SAFRemoteEndpointRuntimeMBean, WSRMRemoteEndpointRuntimeMBeanpublic interface MessageCursorRuntimeMBean extends CursorRuntimeMBean
This interface specifies methods for cursor result sets comprised of messages. Given a cursor handle and an identifier, they return a complete message in CompositeData representation.
CompositeData| Modifier and Type | Method | Description |
|---|---|---|
javax.management.openmbean.CompositeData |
getMessage(java.lang.String cursorHandle,
java.lang.Long messageHandle) |
Returns the message associated with the specified cursor
handle.
|
javax.management.openmbean.CompositeData |
getMessage(java.lang.String cursorHandle,
java.lang.String messageID) |
Given a JMS message ID this method returns the corresponding
message from the queue.
|
closeCursor, getCursorEndPosition, getCursorSize, getCursorStartPosition, getItems, getNext, getPreviousgetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListeneraddPropertyChangeListener, removePropertyChangeListenergetMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParentjavax.management.openmbean.CompositeData getMessage(java.lang.String cursorHandle,
java.lang.String messageID)
throws ManagementException
Given a JMS message ID this method returns the corresponding message from the queue. If no message with the specified message ID exists on the destination, a null value is returned.
cursorHandle - The handle of the cursor.messageID - The JMS message ID of the requested message.ManagementException - Thrown when an error occurs while performing the query.CompositeDatajavax.management.openmbean.CompositeData getMessage(java.lang.String cursorHandle,
java.lang.Long messageHandle)
throws ManagementException
Returns the message associated with the specified cursor handle.
cursorHandle - The handle of the cursor.messageHandle - The handle of the message within the cursor.ManagementException - Thrown when an error occurs while performing the operation.CompositeData