Consultor Eletrônico



Kbase P117292: Adapter For SonicMQ: getBytesCount() returns 0 with Multipart bytesMessage
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   04/10/2006
Status: Unverified

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
SonicMQ

SYMPTOM(s):

4GL Client consumes MultiPart Messages

calling getBytesCount on a bytesMessage part returns 0

calling getBytesCount on a bytesMessage that is not part of a multiPart Message returns the correct length

CAUSE:

This is a known issue being investigated by Development

FIX:

To workaround this, on the producing side of the application, create a message property to hold the size of the bytesPart. Use this property on the consuming side of the application instead of trying to execute getBytesCount()