Get Messages ( Selector, Timeout )
post
/management/weblogic/{version}/serverRuntime/JMSRuntime/JMSServers/{name}/sessionPoolRuntimes/{name}/JMSServer/destinations/{name}/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
Supported Media Types
- application/json
Path Parameters
-
name: string
The name property of the instance in the collection.
-
version: string
The version of the WebLogic REST interface.
Header Parameters
-
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:
Root Schema : Arguments
Type:
object
Title:
Show Source
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.
Security
-
Admin: basic
Type:
basic
Description:A user in the Admin security role.
Response
Supported Media Types
- application/json
200 Response
Returns the following fields:
Root Schema : Return
Type:
object
Title:
Show Source
Return
-
return(optional):
string
Returns the action's result.