-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Expected Behavior
MqttIntegrationEvent
should have server
property or other means to find what MQTT server caused it.
Current Behavior
MqttIntegrationEvent
does not have server
property.
Context
I have multiple inbound MQTT adapters connected to different servers. Right now it is impossible to find what server caused application event. For example MqttConnectionFailedEvent
may not have any mentions of failed server depending on type of the underlying exception.
AbstractMqttMessageDrivenChannelAdapter.getUrl()
is protected. Also I am not sure if it is set correctly if urls are configured through MqttConnectOptions
. At the very least AbstractMqttMessageDrivenChannelAdapter
should log server url on errors.