Home

 

TriggerType (MQLONG)

Local Model Alias Remote Cluster
Yes Yes No No No

This controls the conditions under which trigger messages are written as a result of messages arriving on this queue. The value is one of the following:

MQTT_NONE

No trigger messages are written as a result of messages on this queue. This has the same effect as setting TriggerControl to MQTC_OFF.

MQTT_FIRST

A trigger message is written whenever the number of messages of priority TriggerMsgPriority or greater on the queue changes from 0 to 1.

MQTT_EVERY

A trigger message is written whenever a message of priority TriggerMsgPriority or greater arrives on the queue.

MQTT_DEPTH

A trigger message is written whenever the number of messages of priority TriggerMsgPriority or greater on the queue equals or exceeds TriggerDepth. After the trigger message has been written, TriggerControl is set to MQTC_OFF to prevent further triggering until it is explicitly turned on again.

To determine the value of this attribute, use the MQIA_TRIGGER_TYPE selector with the MQINQ call. To change the value of this attribute, use the MQSET call.



 

Home