Get Messages
post
/management/weblogic/{version}/serverRuntime/SAFRuntime/agents/{name}/remoteEndpoints/{name}/getMessages
Queries messages on the queue according to the 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. If the cursor expires, the associated resources are 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 or SAF message selector.
-
timeout(optional):
integer(int32)
Specifies the amount of time the message cursor is valid. A value of 0 indicates the cursor does not expire.
Security
-
Admin: basic
Type:
basic
Description:A user in the Admin security role.
-
Monitor: basic
Type:
basic
Description:A user in the Monitor security role.
-
Operator: basic
Type:
basic
Description:A user in the Operator 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.