Consultor Eletrônico



Kbase P96824: SonicMQ Adapter: Producer gets 4052 error when calling method getMessagePartByIndex
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/27/2004
Status: Unverified

FACT(s) (Environment):

SonicMQ
Progress 9.x
Progress 9.1x
OpenEdge 10.x

SYMPTOM(s):

**<attribute> is not a <settable/queryable> attribute for <widget id>. (4052)

**ERROR is not a queryable attribute for MENU-ITEM _Run. (4052)

**STOP is not a queryable attribute for MENU-ITEM _Run. (4052)

**QUIT is not a queryable attribute for MENU-ITEM _Run. (4052)

SonicMQ Adapter

4gl Client produces Multi Part Message

4gl client attempts to execute the getMessagePartByIndex method of the message handle:

DYNAMIC-FUNCTION("getMessagePartByIndex" IN <Message_Handle>, INPUT <Index>, OUTPUT <Message Handle>).

CAUSE:

This bug is caused by code being executed that expects to be in an asynchronous event procedure.

FIX:

getMessagePartByIndex() expects to be called on the receiving side of an application.