IRMQMessage parameter error

Hi all,

At the beginning of my code I have the RMQ configuration (code at the end).
Randomly I am getting a “41690- Parameter error” on the last IRMQMessage operation.
I do not understand this error, most of the time works fine.

I also tried to catch the error, but it do not enter into the ERROR section.
I need to make this part of the code stable.

Any suggestion will be appreciated.

Best regards,
Daniel M.


‘data_*’ are variables of a record type.

PROC RMQ_config()
IDelete i_msgrec;
IDelete i_msgrec2;
IDelete i_msgrec3;
CONNECT i_msgrec WITH RMQ_handler;

CONNECT i_msgrec2 WITH RMQ_handler;
CONNECT i_msgrec3 WITH RMQ_handler;
IRMQMessage data_comm, i_msgrec;

IRMQMessage data_stop, i_msgrec2;
IRMQMessage data_tray, i_msgrec3;
ENDPROC