Messaging Contexts REST Endpoints

Messaging Contexts

A messaging context is a container of ephemeral objects like connections, sessions, producers, consumers, temporary destinations, and queue browsers.

A messaging context is identified by the JSESSIONID cookie.  The only API specific to a messaging context is the API for getting and setting the maximum inactive interval (MII), which controls the expiration time of the messaging context.  When the messaging context expires, all ephemeral objects contained in it are closed and deleted, except temporary destinations created in another messaging context.  A temporary destination is closed only if the connection by which the temporary destination was created is closed.

Creation of a messaging context is an implicit operation.  It is created by the first access to the Oracle Messaging Cloud Service that passes authentication.

Get Maximum Inactive Interval
Method: get
Path: /maxInactiveInterval
Set Maximum Inactive Interval
Method: post
Path: /maxInactiveInterval