/n software Adapters for BizTalk

Questions / Feedback?

WillTopic Property

The topic that the server should publish the WillMessage to in the event of an ungraceful disconnection.

Data Type


Default Value



This property may be set to specify the topic name that the server should publish the WillMessage on if the connection is closed ungracefully.

MQTT Wills

The Will feature of MQTT allows a client to specify to the server a WillMessage to publish (as well as a WillTopic to publish it on) in the event of an ungraceful disconnection.

If there is not an ungraceful disconnection the server discards the Will message without publishing it. Note that in MQTT 5, the client can set a DisconnectReasonCode of 0x04 to instruct the server to publish the Will message anyway.

In addition to the WillTopic and WillMessage properties, the WillQOS setting may be used to specify the Will message's QoS level, and the WillRetain setting to set the Will message's Retain flag. Refer to those settings for more information.

If WillTopic is set to empty string (default), the adapter will not send a Will to the server.

In MQTT 5, the "WillDelayInterval" value in the WillProperties config can specify a delay between the ending of the connection and sending the will message, so that the WillMessage will not be sent if a connection is re-established within a certain period of time.

Copyright (c) 2022 /n software inc. - All rights reserved.
/n software Adapters for BizTalk - Version 20.0 [Build 8165]