Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.5
-
None
-
Red Hat
Description
Config router to connect to two brokers.
- A python client sends messages to the router. Another python client connects to the two brokers directly to receive messages.
- Shutdown one of the brokers while the sender is sending messages to the router.
Result: Some messages got lost. The sender did not get confirmation for all messages sent. The receiver did not get those messages either.
router config used:
listener
{ addr: 0.0.0.0 port: amqp sasl-mechanisms: ANONYMOUS }connector
{ name: broker1 role: on-demand addr: ... port: ... sasl-mechanisms: ANONYMOUS }connector
{ name: broker2 role: on-demand addr: ... port: ... sasl-mechanisms: ANONYMOUS }router
{ mode:standalone router-id: LB_R1 }waypoint
{ address: user.bar out-phase: 1 in-phase: 0 connector: broker1 }waypoint
{ address: user.bar out-phase: 1 in-phase: 0 connector: broker2 }fixed-address
{ prefix: /user phase: 0 fanout: single bias: spread }fixed-address
{ prefix: /user phase: 1 fanout: single bias: closest }log
{ module: ROUTER enable: trace+ }