Some of the content described in this article is available in meshIQ Manage versions 12.1 and later.
For a quick overview of what's new or changed, visit the meshIQ Highlights page for a version-by-version breakdown.
Jump to Section:
Version 12.x and Later
Version 11.3 and Earlier
Version 12.x and Later
The Publish feature allows you to send a message to a topic.
Publishing a message sends it to all subscribers that are currently subscribed to that topic or a matching topic string, making it useful for testing topic functionality or distributing messages.
Publish a Message
In the Topics widget, select the topic you want to publish a message to.
-
From the Selected menu, navigate to:
Commands > Publish. The Publish dialog opens.
The dialog contains the following fields:
Message Data
Enter the message content you want to publish to the topic. This text will be sent to all subscribers of the selected topic.Property Name (optional)
Specify a message property name if you want to include custom metadata with your message.Property Value (optional)
Enter the value corresponding to the property name.
After entering the message details, click Ok to publish the message immediately, or click Schedule to schedule the publish action for a later time.
(See Scheduling Jobs for more information.)
Viewing Published Topic Messages
The messages published to a topic are received by subscribers based on how the subscription is created. There are two types of subscriptions for a topic: consumer and durable subscriber.
Consumer
A consumer receives messages only while it is connected to the topic.
If it is disconnected when a message is published, that message is not delivered once it reconnects.
Use this type when real-time message delivery is sufficient.Durable Subscriber
A durable subscriber continues to receive messages even when it is temporarily disconnected.
Messages are stored on the EMS server until they are delivered, expire, or reach the topic’s storage limit.
When the application reconnects, any stored messages for that topic are delivered automatically.
To create a durable subscriber, select the desired topic while creating the durable subscription. See Create Durable for detailed steps.
Once created, the published messages can be viewed from the Durable widget by selecting Browse Messages from the Selected menu.
_______________________________________________________________________________________________________________
Version 11.3 and Earlier
The Publish feature allows you to send a message to a topic.
Publishing a message sends it to all subscribers that are currently subscribed to that topic or a matching topic string, making it useful for testing topic functionality or distributing messages.
Publish a Message
In the Topics viewlet, select the topic you want to publish a message to.
-
From the Selected menu, navigate to:
Commands > Publish. The Publish Topic dialog opens.
The dialog contains the following fields:
Message Data
Enter the message content you want to publish to the topic. This text will be sent to all subscribers of the selected topic.Property Name (optional)
Specify a message property name if you want to include custom metadata with your message.Property Value (optional)
Enter the value corresponding to the property name.
After entering the message details, click Ok to publish the message immediately, or click Schedule to schedule the publish action for a later time.
(See Scheduling Jobs for more information.)
Viewing Published Topic Messages
The messages published to a topic are received by subscribers based on how the subscription is created. There are two types of subscriptions for a topic: consumer and durable subscriber.
Consumer
A consumer receives messages only while it is connected to the topic.
If it is disconnected when a message is published, that message is not delivered once it reconnects.
Use this type when real-time message delivery is sufficient.Durable Subscriber
A durable subscriber continues to receive messages even when it is temporarily disconnected.
Messages are stored on the EMS server until they are delivered, expire, or reach the topic’s storage limit.
When the application reconnects, any stored messages for that topic are delivered automatically.
To create a durable subscriber, select the desired topic while creating the durable subscription. See Create Durable for detailed steps.
Once created, the published messages can be viewed from the Durable viewlet by selecting Browse Messages from the Selected menu.