Consultor Eletrônico



Kbase P11288: SonicMQ Adapter client failing to cosume filtered messages.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   17/02/2004
Status: Unverified

FACT(s) (Environment):

Progress 9.1C

FACT(s) (Environment):

Progress 9.1D

SYMPTOM(s):

Messages are not being consumed.

Filtering messages with a message selector.

CAUSE:

Message selector does not match.

FIX:

The setStringProperty "TO" of the producing client must match the "TO" of the subscribing client.

Example:

/* Producing Client */

RUN setStringProperty IN messageH ("FROM", "Super Golf Center").
RUN setStringProperty IN messageH ("TO", "Sub Par Golf").

/* Consuming Client */

RUN subscribe IN pubsubsession ("GolfTopic",
?,
"TO = 'Sub Par Golf'", /* This matches above */
no,
consumerH).