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 TopResponse
200 Response
Headers contain the current and maximum MII values.
Headers
-
X-OC-MAX-MII: integer
The largest maximum inactive interval allowed to be set by the service or service instance.
-
X-OC-MII: integer
The maximum inactive interval of the current messaging context.
500 Response
Error Codes
operationFailed
:A low-level exception occurred in attempting to obtain the MII.
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: 900Back to Top