Chapter 9. Broker solutions using WebSphere Business Integration Message Broker 233
? Real-timeOptimizedFlow node: This node is used as a complete message
flow that provides a high performance publish/subscribe message flow, or, to
put it another way, a multicast output node. The actions taken by this node
are all internalized. Setting properties is the only way to influence its
operation. Clients connect using the WebSphere MQ Real-time Transport or
the WebSphere MQ Multicast Transport, and use JMS application
programming interfaces. The node also supports publication to or
subscription from standard WebSphere MQ applications, but with lesser
performance as that achieved by JMS applications.
? Publication node: Use the Publication node to filter output messages from a
message flow and transmit them to subscribers who have registered an
interest in a particular set of topics. The Publication node must always be an
output node of a message flow and has no output terminals of its own.
The real-time transport is simple to configure and use in both the message flows
and in JMS client applications. To send messages into a message flow using the
Real-Time transport, add a Real-timeInput node or a Real-timeOptimizedFlow
node to the flow. Once one of these nodes has been wired into a flow,
subscribing applications can use the node to register for subscriptions over the
Real-Time transport, and publishing applications can publish into the node over
the Real-Time transport.
To use the Real-Time transport to publish messages out of a message flow to
subscribing clients, add either the Publication node or the
Real-timeOptimizedFlow node to a flow. Messages are published to subscribers
using the same transport that the subscriber registered with, so the Publication
node or Real-timeOptimizedFlow node will use either the WebSphere MQ
Enterprise transport or the Real-Time transport to publish messages to
subscribers.
When configuring either of the Real-Time input nodes, the only mandatory
property is the port number that the broker uses to listen for incoming
connections.
JMS clients that publish or subscribe messages using the WebSphere MQ
Enterprise transport can be easily modified to use the Real-Time transport
instead. JMS clients that use administered objects can be switched to use the
Real-Time transport without changing any existing code, and without the
application even being aware that it is using a different transport. This is
accomplished by setting the TRANSPORT and PORT properties on the
ConnectionFactory administered object.