Get Messages ( Selector, Timeout )
/management/weblogic/{version}/serverRuntime/partitionRuntimes/{name}/JMSRuntime/JMSServers/{name}/destinations/{name}/durableSubscribers/{name}/destinationRuntime/getMessages
Queries messages on the queue according to the provided message selector and returns a message cursor representing the result set. The timeout parameter specifies the amount of time in seconds for which the cursor is valid. Upon timeout expiration the cursor is invalidated and the associated resources released.
Request
- application/json
-
name: string
The name property of the instance in the collection.
-
version: string
The version of the WebLogic REST interface.
-
X-Requested-By: string
The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Must contain the following fields:
object
Arguments
-
selector(optional):
string
A valid JMS message selector.
-
timeout(optional):
integer(int32)
The last access timeout for the cursor. The cursor resources will be reclaimed if it is not accessed within the specified time interval. A value of 0 indicates no timeout.
-
Admin: basic
Type:
basic
Description:A user in the Admin security role.
Response
- application/json
200 Response
Returns the following fields:
object
Return
-
return(optional):
string
Returns the action's result.