Skip to content

Commit

Permalink
Fix MQTT clientFactory bean definition in Docs
Browse files Browse the repository at this point in the history
**Cherry-pick to 5.0.x and 4.3.x**

(cherry picked from commit 3c1b547)
  • Loading branch information
artembilan committed May 7, 2018
1 parent 168a160 commit 7b15139
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/reference/asciidoc/mqtt.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ A minimal configuration might be:
----
<bean id="clientFactory"
class="org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory">
<bean class="org.eclipse.paho.client.mqttv3.MqttConnectOptions">
<property name="userName" value="${mqtt.username}"/>
<property name="password" value="${mqtt.password}"/>
</bean>
<property name="connectionOptions">
<bean class="org.eclipse.paho.client.mqttv3.MqttConnectOptions">
<property name="userName" value="${mqtt.username}"/>
<property name="password" value="${mqtt.password}"/>
</bean>
</property>
</bean>
<int-mqtt:message-driven-channel-adapter id="mqttInbound"
Expand Down

0 comments on commit 7b15139

Please sign in to comment.