shutdown

5 posts / 0 new
Last post
Offline
Last seen: 4 years 5 months ago
Joined: 03/29/2020
Posts: 9
3 seconds to shutdown DomainParticipant

Hi,

I am trying the example "rticonnextdds-examples/examples/connext_dds/using_qos_profiles", and it looks DomainParticipant shutdown ( or release resources) needs about 3 seconds. I did a test with only DomainParticipant as below:

Keywords:
3 posts / 0 new
Last post
rip
rip's picture
Offline
Last seen: 1 day 5 hours ago
Joined: 04/06/2012
Posts: 324
Implementing MQTT QoS using DDS

MQTT provides a "Last Will & Testament" QoS, that causes a writer to emit a final instance when it it shuts down, effectively a shut-down hook.

I want to implement the same thing using DDS {in Java*}.  I'm looking for different ideas on what might be a best-practice...

I want to avoid writing my own manual shutdown algorithm (I want to call <participant>.delete_contained_entities(), and have that trigger a final sample being published).

At the moment I'm subclassing the data writer:

Organization:
Keywords:
Subscribe to RSS - shutdown