IBM Support

TIBCO Enterprise Message Service (EMS) stub receives every other event

Troubleshooting


Problem

IBM Rational Integration Tester (RIT) stub listening to a TIBCO Enterprise Message Service (EMS) queue processes every other message.

Symptom

  • You have created a stub in RIT that virtualizes a TIBCO EMS component.

  • The stub consumes messages from the EMS queue.

  • The stub runs but does not receive every message sent to the queue.

Cause

This is the expected default behavior of the TIBCO EMS queue manager.

If an application is running at the same time as the stub, the queue has two equal subscribers. The EMS queue manager will do a round robin and forward every other message to the stub as well as the application.

For other queue managers such as IBM WebSphere MQ, Rational Integration Tester provides an API to intercept the queue messages and forward all of them to the stub. There is no such API for the TIBCO queue manager.

.

Environment

all

Resolving The Problem

This issue can be resolved by not running the other application that is communicating with the TIBCO EMS queue.

Alternatively the TIBCO EMS can be configured to have an "exclusive" property so that if the stub is the first subscriber to the queue it will receive every message on the queue. See the related Tech Note below:

TIBCO Enterprise Message Service™ (EMS) stub processing all messages on a queue

[{"Product":{"code":"SSBLQQ","label":"IBM Rational Test Workbench"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Integrations: 3rd Party","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF027","label":"Solaris"},{"code":"PF022","label":"OS X"},{"code":"PF016","label":"Linux"},{"code":"PF002","label":"AIX"}],"Version":"8.0;8.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21648625