Use the Publication node to filter output messages from a message flow and transmit them through an MQ pub/sub broker to subscribers who have registered an interest in a particular set of topics.
This information contains the following sections:
Use the Publication node to publish a message through the WebSphere® MQ queue manager specified on the integration node (the MQ pub/sub broker). Applications that expect to receive publications must register a subscription.
The Publication node uses the topic, or topics, and any options present in the command message to publish the message. The MQ pub/sub broker delivers the publication to all subscribing applications matching the topic, and any other options specified on their subscriptions.
The Publication node is contained in the Routing drawer of the palette, and is represented in the IBM® Integration Toolkit by the following icon:
When you have put an instance of the Publication node into a message flow, you can configure it; see Configuring a message flow node. The properties of the node are displayed in the Properties view.
The Publication node terminals are described in the following table.
Terminal | Description |
---|---|
In | The input terminal that accepts a message for processing by the node. |
NoMatch | If no subscribers are matched on any of the published topics, the original message is propagated here. |
Out | If at least one subscriber is matched by WebSphere MQ on at least one of the published topics, the original message is propagated here. |
The following tables describe the node properties. The column headed M indicates whether the property is mandatory; the column headed C indicates whether the property is configurable (you can change the value when you add the message flow to the BAR file to deploy it).
The Publication node Description properties are described in the following table.
Property | M | C | Default | Description |
---|---|---|---|---|
Node name | No | No | The node type: Publication | The name of the node. |
Short Description | No | No | A brief description of the node. | |
Long Description | No | No | Text that describes the purpose of the node in the message flow. |
The Publication node Basic properties are described in the following table.
Property | M | C | Default | Description |
---|---|---|---|---|
Implicit Stream Naming | Yes | No | Cleared | Select Implicit
Stream Naming to take the name of the WebSphere MQ queue on which the message was
received by the message flow as the stream name. This property provides
compatibility with earlier versions of WebSphere MQ Publish/Subscribe, and applies to messages with
an MQRFH header when MQPSStream is not specified. Clear the check box if you do not want this action to be taken. |
Subscription Point | No | No | The subscription point value for the
node. If you do not specify a value for this property, the
default subscription point is assumed. Set a subscription
point for a Publication node
to restrict the forwarding of its publications to those subscribers
that specify the subscription point in their subscription. For more information, see Subscription points. |
Property | M | C | Default | Description |
---|---|---|---|---|
Events | No | No | None | Events that you have defined for the node are
displayed on this tab. By default, no monitoring events are defined
on any node in a message flow. Use Add, Edit,
and Delete to create, change or delete monitoring
events for the node; see Configuring monitoring event sources by using monitoring properties for details. You can enable and disable events that are shown here by selecting or clearing the Enabled check box. |