Get JMS Messages
/management/weblogic/{version}/serverRuntime/SAFRuntime/agents/{name}/remoteEndpoints/{name}/getJMSMessages
Returns an array of JMSMessageVBean objects that match the specified JMS message selector. When the sortOn parameter is specified the array is ordered by the message header field.
Request
- application/json
-
name(required): string
The name property of the instance in the collection.
-
version(required): string
The version of the WebLogic REST interface.
-
X-Requested-By(required): 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:
objectArguments-
ascending:
array Items
Title:
ItemsIndicates whether sort order is ascending or descending
-
max:
integer(int32)
The maximum number of messages to return
-
selector:
string
The JMS message selector
-
sortOn:
array Items
Title:
ItemsThe JMS header fields to sort on. Values can include message attributes JMSMessageID, JMSTimestamp, JMSDeliveryTime, JMSType, JMSCorrelationID, JMSExpiration, JMSRedelivered, JMSPriority, JMS_BEA_Size, JMS_BEA_UnitOfOrder, JMS_BEA_Xid, JMS_BEA_State, JMS_BEA_SequenceNumber, and arbitrary message property names.
arrayItemsIndicates whether sort order is ascending or descending
arrayItemsThe JMS header fields to sort on. Values can include message attributes JMSMessageID, JMSTimestamp, JMSDeliveryTime, JMSType, JMSCorrelationID, JMSExpiration, JMSRedelivered, JMSPriority, JMS_BEA_Size, JMS_BEA_UnitOfOrder, JMS_BEA_Xid, JMS_BEA_State, JMS_BEA_SequenceNumber, and arbitrary message property names.
-
Admin: basic
Type:
basicDescription:A user in the Admin security role.
Response
- application/json
200 Response
Returns the following fields:
object-
jmsMessages:
array Items
Title:
ItemsRead Only:trueReturns the JMS messages that match the specified filter criteria, up to the maximum number of messages specified.
-
totalCount:
integer(int64)
Read Only:
trueThe total number of messages on the destination, including pending messages that are not visible. For JMS server operations, where the resulting messages could span multiple destinations, the value will represent the total number of messages matching the selector criteria.
-
totalFilteredCount:
integer(int64)
Read Only:
trueThe number of messages matching the selector criteria. Note that this value may be larger than the number of messages returned.
arrayItemstrueReturns the JMS messages that match the specified filter criteria, up to the maximum number of messages specified.
object-
jmsCorrelationID:
string
Read Only:
trueReturns the correlation ID.
-
jmsDeliveryMode:
string
Read Only:
trueReturns one of the following delivery mode values:
persistent
nonpersistent
-
jmsDestination:
object JMS Destination V
-
jmsExpiration:
integer(int64)
Read Only:
trueReturns the expiration.
-
jmsMessageID:
string
Read Only:
trueReturns the message ID.
-
jmsPriority:
integer(int32)
Read Only:
trueReturns the priority.
-
jmsRedelivered:
boolean
Read Only:
trueReturns the redelivered flag.
-
jmsReplyTo:
object JMS Destination V
-
jmsTimestamp:
integer(int64)
Read Only:
trueReturns the timestamp.
-
jmsType:
string
Read Only:
trueReturns the type.
-
properties:
array Items
Title:
ItemsRead Only:trueReturns the message properties
object-
consumerID:
string
Read Only:
trueReturns the consumer ID.
-
destinationName:
string
Read Only:
trueReturns the decorated name of the destination.
-
messageSize:
integer(int64)
Read Only:
trueReturns the size of the message in bytes.
-
messageType:
string
Read Only:
trueReturns the type of message. The values include:
bytes
map
object
stream
text
xml
-
sequenceNumber:
integer(int64)
Read Only:
trueReturns the internal sequence number.
-
state:
string
Read Only:
trueReturns the message state in string representation consisting of one or more space-delimited state strings. State values include one or more of the following:
visible
send
receive
transaction
ordered
delayed
expired
redelivery-count-exceeded
paused
sequenced
unit-of-work-component
-
xid:
string
Read Only:
trueReturns the Xid of associated global transaction or null.
object-
name:
string
Read Only:
trueReturns the decorated destination name.
-
serverName:
string
Read Only:
trueReturns the JMS server name.
-
type:
string
Read Only:
trueReturns the destination type (queue, topic or anonymous)
arrayItemstrueReturns the message properties
object-
name:
string
Read Only:
trueReturns the property name.
-
type:
string
Read Only:
trueReturns the property type. Type values include boolean, byte, short, int, long, float, double, and String.
-
value:
string
Read Only:
trueReturns the proeprty value.