Pause Consumption

post

/management/weblogic/{version}/serverRuntime/JMSRuntime/JMSServers/{name}/pauseConsumption

Pauses the consumption operation on all the destinations hosted by the JMSServer.

When the JMSServer is paused for consumption, all of its destination's state is marked as "consumption paused" and all the new synchronous receive operations will block until the destination is resumed and there are messages available for consumption. All the synchronous receive with blocking timeout will block until the timeout happens during the consumption paused state.

All the asynchronous consumers attached to that destination will not get any messages delivered to them while the destination in "consumption paused" state.

After a successful consumption "pause" operation, the user has to explicitly "resume" the destination to allow for any further consume operations on that destination

Request

Path Parameters
Header Parameters
  • 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'.
Security
  • Type: basic
    Description: A user in the Admin security role.
Back to Top

Response

200 Response

Returns the following fields:

Back to Top