diff --git a/code/DDSCodeTester.cpp b/code/DDSCodeTester.cpp
index 6a2d39afc..12782a833 100644
--- a/code/DDSCodeTester.cpp
+++ b/code/DDSCodeTester.cpp
@@ -778,13 +778,31 @@ void dds_domain_examples()
}
{
- // IGNORE_LOCAL_ENDPOINTS_DOMAINPARTICIPANT
+ // IGNORE_LOCAL_ENDPOINTS
+ // DomainParticipant level: every local endpoint is not matched with
+ // any other local endpoint.
DomainParticipantQos participant_qos;
// Avoid local matching of this participant's endpoints
participant_qos.properties().properties().emplace_back(
"fastdds.ignore_local_endpoints",
"true");
+
+ // Endpoint level: DataWriter ignores any other local endpoint
+ DataWriterQos datawriter_qos;
+
+ // Avoid local matching with any other local endpoint
+ datawriter_qos.properties().properties().emplace_back(
+ "fastdds.ignore_local_endpoints",
+ "true");
+
+ // Endpoint level: DataReader ignores any other local endpoint
+ DataReaderQos datareader_qos;
+
+ // Avoid local matching with any other local endpoint
+ datareader_qos.properties().properties().emplace_back(
+ "fastdds.ignore_local_endpoints",
+ "true");
//!--
}
}
diff --git a/code/XMLTester.xml b/code/XMLTester.xml
index 6a93fc32b..b045ad8c7 100644
--- a/code/XMLTester.xml
+++ b/code/XMLTester.xml
@@ -2587,7 +2587,7 @@
<-->
-IGNORE_LOCAL_ENDPOINTS_DOMAINPARTICIPANT<-->
+IGNORE_LOCAL_ENDPOINTS<-->
+
+ fastdds.ignore_local_endpoints
+ true
+
+
+
+
+
+
+
+
+
+
+ fastdds.ignore_local_endpoints
+ true
+
+
+
+
+
IGNORE_LOCAL_ENDPOINTS_DOMAINPARTICIPANT<-->
+ :start-after: IGNORE_LOCAL_ENDPOINTS<-->
:end-before: <-->
- :lines: 2-4,6-18,20-21
+ :lines: 2-4,6-41,43-44
.. note::
An invalid value of ``fastdds.ignore_local_endpoints`` results in the default behaviour.