Usage of activity WaitForEvent when BusinessWorks process is deployed in LoadBalance mode.

Usage of activity WaitForEvent when BusinessWorks process is deployed in LoadBalance mode.

book

Article ID: KB0094575

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
The  WaitForEvent activity (same for JMSWait) will pick up the message from the EMS queue/topic and acknowledge them. Its not relevant if the Candidate Event Key matched.

When you use an EMS queue it may happen that the WaitForEvent process timed out because the message was acknowledged by the other active BusinessWorks process.

Environment:
===========
BusinessEvents 3.n/4.n/5.n
All Operating Systems

Symptoms:
=========
Activity WaitForEvent timed out.

Cause:
======
Only one subscriber (WaitForEvent) received the EMS message and acknowledge them.

Resolution:
========
1). Use a topic instead of a queue for the destination.

2). When using an EMS queue for the destination use Activity "Get JMS Queue Message" (see FAQ1-7U22DT) instead of "WaitForEvent". You have to configure a selector in the InputTab to process the matched message only.

Issue/Introduction

Usage of activity WaitForEvent when BusinessWorks process is deployed in LoadBalance mode.