|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageCursorRuntimeMBean
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
Method Summary | |
---|---|
CompositeData |
getMessage(String cursorHandle,
Long messageHandle)
Returns the message associated with the specified cursor handle. |
CompositeData |
getMessage(String cursorHandle,
String messageID)
Given a JMS message ID this method returns the corresponding message from the queue. |
Methods inherited from interface weblogic.management.runtime.CursorRuntimeMBean |
---|
closeCursor, getCursorEndPosition, getCursorSize, getCursorStartPosition, getItems, getNext, getPrevious |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Method Detail |
---|
CompositeData getMessage(String cursorHandle, 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.CompositeData
CompositeData getMessage(String cursorHandle, 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
|
Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |