Java

2 posts / 0 new
Last post
Offline
Last seen: 3 months 1 week 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: 3 months 1 week 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: 10 months 1 week 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: 1 year 7 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
jakehenry41kc's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: 10/17/2017
Posts: 5
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
jakehenry41kc's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: 10/17/2017
Posts: 5
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: 3 years 1 month 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: 3 years 1 month 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:

2 posts / 0 new
Last post
jakehenry41kc's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: 10/17/2017
Posts: 5
32 bit vs 64 bit .dlls in Java

Hello,

Organization:
6 posts / 0 new
Last post
Offline
Last seen: 4 years 5 months ago
Joined: 12/03/2017
Posts: 6
Need your advice

Hello,

I'm working on master thesis project where I need to apply DDS with existing CPS system for smart buildings. CSP system's source code written with modeling language called ThingML. After compiling program runs as Java application.

Simple version of this CPS receive temperature from one or more thermometers. After that CPS sends signal to turn on/off heater switcher.

So my question is how/where to start?

Subscribe to RSS - Java