Monitor Message Is Received

Checks if the message with a specific path is received during the timeout.

Arguments Description

message_path (str): The message path should be in the format: BusName::MsgId.

timeout (int): The timeout.

Returns

bool: True if the message with the specified path is received at least once during the timeout; otherwise, False.

Example

Monitor Message Is Received ${BusName}::${MsgId} ${timeout}

Note

No message observer needs to be started to monitor the message.

If a message observer on that message is already active, all the received values of that observer will be cleared. Nevertheless, the observer will not be stopped after the timeout and will continue monitoring the message.