Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Structure of the URI 

objects/type/objectName/fields
URI SegmentDescriptionPossible valuesWildcards SupportedWildcard Example
queueManagerNameName of the queue manager YES.* can be used to select all or part of the queue manager name
type  NO 
objectNameName of the MQ object. Example Queue Name YES.* can be used to select all or part of the object name
fieldsFields to select separated by a | YES

.* can be used to select all fields

| can be used as an OR statement to select multiple fields

...

The following URI would show the fields CURDEPTH, IPPROCS and OPPROCS for all queues beginning with TEST on all queue managers. 

http://localhost:8085/objects/.*/QUEUE_STATUS/TEST.*/CURDEPTH|

...

IPPROCS|

...

IPPROCS 
Code Block
languagexml
{
	"queryTime": 0,
	"objects": [
		{
			"messageBrokerName": "TEST",
			"objectName": "TEST.LQ1",
			"objectType": "QUEUE_STATUS",
			"entryTime": "25/09/2018 12:58:47 PM",
			"fields": {
				"OPPROCS": "0",
				"IPPROCS": "0",
				"CURDEPTH": "0"
			}
		},
		{
			"messageBrokerName": "TEST",
			"objectName": "TEST.RESPONSE.Q",
			"objectType": "QUEUE_STATUS",
			"entryTime": "25/09/2018 12:58:47 PM",
			"fields": {
				"OPPROCS": "0",
				"IPPROCS": "0",
				"CURDEPTH": "0"
			}
		},
		{
			"messageBrokerName": "TEST",
			"objectName": "TEST_TOPIC.Q",
			"objectType": "QUEUE_STATUS",
			"entryTime": "25/09/2018 12:58:47 PM",
			"fields": {
				"OPPROCS": "0",
				"IPPROCS": "0",
				"CURDEPTH": "0"
			}
		},
		{
			"messageBrokerName": "TEST",
			"objectName": "TEST.REQUEST.Q",
			"objectType": "QUEUE_STATUS",
			"entryTime": "25/09/2018 12:58:47 PM",
			"fields": {
				"OPPROCS": "0",
				"IPPROCS": "0",
				"CURDEPTH": "0"
			}
		}
	]
}