Skip to content

Commit 02bbe56

Browse files
author
Lucas Bowler
committed
spring-projectsGH-3822: Take pull request comments into account
1 parent 308a327 commit 02bbe56

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

spring-integration-mqtt/src/main/java/org/springframework/integration/mqtt/outbound/Mqttv5PahoMessageHandler.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,6 @@ public Mqttv5PahoMessageHandler(String url, String clientId) {
8787
public Mqttv5PahoMessageHandler(MqttConnectionOptions connectionOptions, String clientId) {
8888
super(obtainServerUrlFromOptions(connectionOptions), clientId);
8989
this.connectionOptions = connectionOptions;
90-
if (!this.connectionOptions.isAutomaticReconnect()) {
91-
logger.warn("It is recommended to set 'automaticReconnect' MQTT client option. " +
92-
"Otherwise the current channel adapter restart should be used explicitly, " +
93-
"e.g. via handling 'MqttConnectionFailedEvent' on client disconnection.");
94-
}
9590
}
9691

9792

spring-integration-mqtt/src/test/java/org/springframework/integration/mqtt/Mqttv5BackToBackAutomaticReconnectTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)