Participant QOS definition in java class

2 posts / 0 new
Last post
Offline
Last seen: 12 years 2 months ago
Joined: 09/11/2012
Posts: 4
Participant QOS definition in java class
How can I define this part of QOS xml in java class?
<participant_qos> 
    <property>
<value>
<element>
<name>dds.transport.UDPv4.builtin.parent.message_size_max </name>  
<value>60000</value>
</element>
Thanks
Gerardo Pardo's picture
Offline
Last seen: 3 weeks 6 hours ago
Joined: 06/02/2010
Posts: 602

 

Hello

The easiest is to use the PropertyQosPolicyHelper class (http://community.rti.com/rti-doc/500/ndds.5.0.0/doc/html/api_java/classcom_1_1rti_1_1dds_1_1infrastructure_1_1PropertyQosPolicyHelper.html)

There is an example of the use of this class from C++ in this forum thread: http://community.rti.com/content/forum-topic/configure-rti-connext-dds-not-use-multicast look under the heading "Method 2". The Java code is very similar.

Gerardo