java find_topic 7.1

3 posts / 0 new
Last post
Offline
Last seen: 1 month 3 weeks ago
Joined: 05/04/2023
Posts: 5
DomainParticipant.find_topic not working in Java API

 

With the following JAVA code (dds 7.1) the topic is created successfully, however topic2,  the result of 'find_topic()' is always null. 

Topic topic = my_participant.create_topic(topic_name,

type_name,

DomainParticipant.TOPIC_QOS_DEFAULT, 

null, 

StatusKind.STATUS_MASK_NONE);
}

Topic topic2 = my_participant.find_topic( topic_name, null);

Organization:
Subscribe to RSS - java find_topic  7.1