Get Maximum Inactive Interval

get

/maxInactiveInterval

Return the maximum inactive interval of the current messaging context and the largest allowed maximum inactive interval.

Request

There are no request parameters for this operation.

Back to Top

Response

200 Response

Headers contain the current and maximum MII values.
Headers

500 Response

Error Codes

  • operationFailed:A low-level exception occurred in attempting to obtain the MII.
Back to Top

Examples

cURL Command

cookie=/tmp/messaging-cookie
curl -s -u $USER:$PASS -c $cookie -b $cookie \
     -H "X-OC-ID-TOKEN-STATUS: disabled" \
     -X GET "https://messaging.us2.oraclecloud.com/myService-myTenant/api/v1/maxInactiveInterval"

There is no request body to submit with the HTTP request.

Example of Response Headers

X-OC-MAX-MII: 900
X-OC-MII: 900
Back to Top