Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mosquitto » When reconnect, Broker using "Bridge(in) connection" doesn't send messages.(We have a problem. Please help us.)
icon11.gif  When reconnect, Broker using "Bridge(in) connection" doesn't send messages. [message #1740014] Mon, 08 August 2016 07:48
satoshi taguchi is currently offline satoshi taguchiFriend
Messages: 1
Registered: August 2016
Junior Member
# We use one Publisher(A) and three Brokers(B,C,D) , so one Subscriber(E).
# We're testing following image.

A:[mosquitto_pub]

publish

B:[mosquitto]

bridge(out)

C:[mosquitto]

bridge(in)

D:[mosquitto]

subscribe

E:[mosquitto_sub]

# We tested the three pattern with above environment.

(Pattern 1)
1. Send a messsage from A to B.
2. It confirmed that received a message on E.
(This Confirms message reachability)

(Pattern 2)
1. Kill the mosquitto process on C.
2. Send a message from A to B.
3. When starting mosquitto on C, we confirmed to received a message on E.

(Pattern 3)
1. Kill the mosquitto process on D.
2. Send a message from A to B.
3. Starting mosquitto on D, but we could not confirme to received a message on E.
(Received a messages on D.)

# Why doesn't send a message from D to E.

========================================================
# starting mosquitto command and configration file.

<A>
[command]
mosquitto_pub -t /foo -m "bar" -q 2

----
<B>
[command]
mosquitto -c mosq_B.conf -v

[mosq_B.conf]
connection B
address 127.0.0.1:1884
listener 1883
topic /# out 2
cleansession false

----
<C>
[command]
mosquitto -v -p 1884

----
<D>
[command]
mosquitto -c mosq_D.conf -v

[mosq_D.conf]
connection D
address 127.0.0.1:1884
listener 1885
topic /# in 2
cleansession false

----
<E>
[command]
mosquitto_sub -p 1885 -t /# -q 2 -c -i -sub -v
========================================================
Previous Topic:Publishing multiple messages continuously to the server
Next Topic:mosquitto service status misleading though the service is started
Goto Forum:
  


Current Time: Fri Sep 21 08:32:22 GMT 2018

Powered by FUDForum. Page generated in 0.03481 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top