Running the Scribble sample

If you encounter any problems when you run the sample, see Resolving problems when running samples in the IBM Integration Bus documentation.

To run Scribble:

  1. Start the ScribblePublisher application:
    Click to launch the ScribblePublisher application.

    Start ScribblePublisher

  2. Click the Connect icon The Connect button. to open the Connect window.
  3. In the Connect window, the fields contain default values. Edit the default values if required, then click OK: Connect window
  4. Start the ScribbleSubscriber application:

    Click to launch the ScribbleSubscriber application.

    Start ScribbleSubscriber

    By default, the ScribbleSubscriber application connects to the broker by using the same connection settings as the ScribblePublisher application. However, you can change the connection settings if you want: click the Connect icon The Connect button. and edit the default values.

  5. Click and drag your mouse pointer in the ScribblePublisher window and watch your drawing appear, inverted, in the ScribbleSubscriber window.

Things to try

Using the scribble sample on a remote system

The Scribble sample uses a remote (Client) connection to connect to the WebSphere MQ queue manager.

Consequently, it is possible to use the ScribblePublisher and ScribbleSubscriber applications to exercise the ScribblePublish message flow running on a remote system. To run Scribble on a remote system:

  1. Ensure that the required WebSphere MQ resources are defined on the remote queue manager:
  2. Deploy the scribble.bar BAR file to an execution group on the remote integration node.
  3. Start a ScribblePublisher and configure the host name, port, and queue manager name to match those on the remote system.

Back to sample home