My Oracle Support Banner

RP/MSQ 4.0A(UNIX, NT) - Timer messages not returning 24 bytes (Doc ID 766776.1)

Last updated on DECEMBER 19, 2023

Applies to:

Oracle MessageQ - Version 4.0 and later
Information in this document applies to any platform.
Information in this document applies to any platform

Goal

a pams_get_msg on a Timer message is returning the full msg_area_len of the user buffer rather than a 24 byte timer
msg.  This causes problems when the user get is configured to receive large messages.

Customer reported this problem on Windows NT client.  The problem can be reproduced by running the x_timer.c example
and increasing the MAX_MESSAGE_SIZE in the code from 50 to a larger number like 5000.
Enable Message logging and you will see that all timer messages are 5000 bytes long, they should only be 24 bytes
long.

This problem is actually a server problem and can be reproduced with an Unix/NT Server and does not require a client
app to reproduce.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.