Skip to main content

MQ API actions

Use the MQ API to manage your MQ sessions

Use the following actions to manage your MQ sessions

Action

Description

alterMqSession

alters session settings without disrupting the client

createMqApiSession

creates a new MQ session

deleteMqSession

disconnects a client's MQ session

describeMqSessions

returns information about a client's MQ session

getMessagesFromMqApiSession

returns undelivered messages from a client-subscribed MQ topic

getMessagesFromMqTopic

returns messages published on a specific topic

listMqSessions

returns a list of sessions that match the "partialClientName"

publishMessagesToMq

publishes messages to an MQ topic from the specified client

subscribeToMq

adds or removes a client's subscriptions

The MQ API actions manage MQ sessions. It lists nine specific actions including creating, deleting, altering, describing, and listing MQ sessions, as well as retrieving messages from sessions or topics, publishing messages to topics, and managing client subscriptions.

MQ APIMQTTAPI actionJSON Actionevent streamingmessagemessage queue APIsession management APIcreate MQ sessiondelete MQ sessionalter MQ sessiondescribe MQ sessionlist MQ sessionretrieve MQ messagesretrieve MQ topicspublish MQ topicsmanage MQ subscriptionsmessaging API