Sort
/management/weblogic/{version}/serverRuntime/partitionRuntimes/{name}/JMSRuntime/JMSServers/{name}/sessionPoolRuntimes/{name}/JMSServer/destinations/{name}/durableSubscribers/{name}/destinationRuntime/sort
Sorts the entire message result set managed by the cursor according to the JMS header attributes specified. The cursor position is set to the new position of the message corresponding to the "start" location before the sort is performed. The method returns the new cursor position.
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
-
ascending(optional):
array Items
Title:
Items
Determines whether the sort of the corresponding fields element is in ascending or descending order.
-
cursorHandle(optional):
string
The handle of the cursor.
-
fields(optional):
array Items
Title:
Items
The JMS header attributes on which to sort.
-
start(optional):
integer(int64)
The location of the message before the sort that will be the first message returned after the sort. A value of -1 will place the cursor start position at the head of the new sort order.
array
Items
Determines whether the sort of the corresponding fields element is in ascending or descending order.
array
Items
The JMS header attributes on which to sort.
-
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):
integer(int64)
Returns the action's result.