Two details I did not mention in my previous mail:
- I use the same JMS connection/session to recreate a MessageProducer
- I noticed that the dispatcher reconnects correctly to the broker and the
autolinks are 'active'.
This is the dispatcher config that I used for this test:
router {
id: router.5672
mode: interior
worker-threads: 4
}
listener {
host: 0.0.0.0
port: 5672
role: normal
saslMechanisms: ANONYMOUS
requireSsl: no
authenticatePeer: no
}
address {
name: perf.topic.addr
prefix: perf.topic
waypoint: true
}
connector {
role: route-container
addr: localhost
port: 10101
name: localhost.broker.10101.connector
}
autoLink {
addr: perf.topic
dir: out
connection: localhost.broker.10101.connector
name: localhost.broker.10101.perf.topic.out
}
Thanks,
Antoine