The Scribble sample uses the publish/subscribe type of messaging to transport data. For more information, see Publish/Subscribe in the IBM Integration Bus documentation.
ScribblePublisher and ScribbleSubscriber transport publication messages by using JMS, with WebSphere MQ as the underlying transport layer.
The Scribble sample performs the following actions:
The following sections describe the resources for the sample in more detail:
The Scribble sample uses WebSphere MQ JMS messages.
All of the messages have a standard message template containing the following parts:
<coords> <x1>point</x1> <y1>point</y1> <x2>point</x2> <y2>point</y2> </coords>
The Publication node in the message flow publishes WebSphere MQ messages to ScribbleSubscriber applications.
For more information, see WebSphere Broker JMS Transport in the IBM Integration Bus documentation.
The following diagram shows the ScribblePublish message flow, which processes the publication messages in the Scribble sample.
The following table lists the types of nodes that are used in the ScribblePublish message flow.
Node type | Node name |
---|---|
MQInput | SCRIBBLE_PUBLICATION |
Filter | Filter On Topic |
Compute | Invert Coordinates |
Publication | Publication |
For more information about the nodes that are used in the ScribblePublish message flow, see Built-in nodes in the IBM Integration Bus documentation.
The ScribblePublish message flow transforms the coordinates that are published by the ScribblePublisher application, and then publishes the new coordinates to the ScribbleSubscriber application. For more information, see Message flows overview in the IBM Integration Bus documentation.
The ScribblePublish message flow performs the following actions:
To view the ESQL that is used in the ScribblePublish message flow in the workbench, in the Application Development view of the IBM Integration Toolkit, double-click ScribblePublish.esql to open it in the ESQL editor.
The ESQL for the Filter On Topic node is contained in the ScribblePublish_Filter module, and the ESQL for the Invert Coordinates node is contained in the ScribblePublish_Compute module. For more information, see ESQL overview in the IBM Integration Bus documentation.
The ScribblePublisher and ScribbleSubscriber applications publish information in JMS messages. Both applications use the WebSphere MQ transport.
The Scribble applications interact with the WebSphere MQ local queues that are shown in the following table.
Queue | How the message flow uses the queue |
---|---|
SCRIBBLE_PUBLICATION | The message flow gets event publications that have been published to the queue by the ScribblePublisher application. |
SYSTEM.JMS.ND.SUBSCRIBER.QUEUE | The message flow puts publications on the queue for the ScribbleSubscriber application to take and publish to the integration node. |
For more information about WebSphere MQ, see the WebSphere MQ product documentation.