Java

4 posts / 0 new
Last post
Offline
Last seen: 6 months 2 weeks ago
Joined: 09/19/2023
Posts: 2
Secure option with Java build

Hi,

I have been trying to run the latency and throughput testing under the security enabled feature but was unsucessful with Perftest 4.1 and Connext DDS 6.1.1. I just want to run the test with some security algorithm on UDPv4.

Based on the documentation I've set the:

set NDDSHOME=C:\Users\arekn\Desktop\PulledfromGitHub\PerftestGetResults\rtiperftest\rti_connext_dds-6.1.1

set RTI_PERFTEST_ARCH=i86win64VS2022

3 posts / 0 new
Last post
Offline
Last seen: 5 days 13 hours ago
Joined: 01/13/2016
Posts: 58
DDS_DataWriter_write_untyped_generalI:not enabled

Hello,

My program reported this error “DDS_DataWriter_write_untyped_generalI:not enabled”.

there is my codes

public boolean CreateTopic(String topicname, String typename, int dt, String struname, int row, int col, int InOut)

{

m_dt = dt;

m_elements = row * col;

m_topicname = topicname;

Keywords:
2 posts / 0 new
Last post
Offline
Last seen: 1 year 10 months ago
Joined: 04/18/2022
Posts: 8
Missing Thousands of Messages using DynamicData Listener
Hi All, I am experiencing an issue where my Listener is missing messages when I use DynamicData and configuring QOS seems to have no effect. I have an application that subscribes to many topics with the purpose of reading all the messages and persisting an XML and binary version for each (dont ask why). We have a publisher pushing a test set of 69,000 messages into the DDS for us to consume. Each message is on one of ten Topics each with a single Type.
3 posts / 0 new
Last post
Offline
Last seen: 1 year 10 months ago
Joined: 04/18/2022
Posts: 8
Java Serialization of DynamicData to XML

Hi Everyone,

I'm extremely new to RTI DDS and have a very limited requirement in scope for a Java application. I want to be able to generically subscribe to all Topics, consume all topic messages and persist them as XML and in Binary.

I have looked through the forum and have made quite a lot of progress following the MonitorData example which subscribes to all the topics on the DCPSPublication topic. I am now recieving the messages as DynamicData in my listener. I have a few issues that I am struggling with here

Organization:
3 posts / 0 new
Last post
Offline
Last seen: 2 years 4 months ago
Joined: 11/01/2021
Posts: 2
Does it possible to subscribe the defective topic?

Hello,

I want to subscribe a topic like

2 posts / 0 new
Last post
Offline
Last seen: 3 years 2 months ago
Joined: 02/04/2021
Posts: 1
Sequences in IDL

Given the following example of a typedef sequence in IDL:  (this is not actual IDL, just an example)

module data {

typedef sequence <MyData, 10> MyDataSequence;

struct MyStruct {

MyDataSequence  field;

};

};

module message {

valuetype ThisMessage {

public MyDataSequence data;

};

};

Organization:
2 posts / 0 new
Last post
Jacob Henry's picture
Offline
Last seen: 7 months 2 weeks ago
Joined: 10/17/2017
Posts: 6
Routing Service Library Create Entity

Hello,

I am trying to use the java api for the rti routing service. I have successfully got the route running with the initial configuration file, but I need more information on how to use the createEntity and deleteEntity methods.

The following is my initial XML file which loads successfully and routing begins:

 

Organization:
5 posts / 0 new
Last post
Jacob Henry's picture
Offline
Last seen: 7 months 2 weeks ago
Joined: 10/17/2017
Posts: 6
Distributed Logger Application Based File Logging

Language: Java

RTI Version: 5.3.1.22

 

Hi,

I am launching 3 routing service instances via the RTIRoutingService.bat files which launch rtiroutingservice.exe programs.

Due to the inability to configure the routing service to log directly to a file I am forced to use the RTI Distributed Logger to receive log messages.

Organization:
1 post / 0 new
Offline
Last seen: 4 years 7 months ago
Joined: 08/22/2019
Posts: 4
DataReaderListener not called

Hi,

I have successfully set up a publisher in a Java application, and its data is received by another participant. Registering the same participant that is publishing the data as a subscriber seems to be successful, too, but it seems my DataReaderListener is never called when something is published on the topic. Here's the code that is setting up the subscriber:

5 posts / 0 new
Last post
Offline
Last seen: 4 years 7 months ago
Joined: 08/22/2019
Posts: 4
Compilation failure with Java classes generated by rtiddsgen

Hello,

I'm using rtiddsgen (from the 6.0.0 distribution) to generate Java classes from an IDL file.

rtiddsgen -d output -inputidl ida.idl -language Java -package dds.xyz -ppDisable -update typefiles

The Java classes are generated successfully, but some of them cannot be compiled. The errors reported by the Java compiler mainly have to do with converting to either a Sequence or a List. Here are a couple of examples:

Subscribe to RSS - Java