org.yamcs.artemis.ArtemisPpService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yamcs-artemis Show documentation
Show all versions of yamcs-artemis Show documentation
Yamcs Artemis senders/receivers
package org.yamcs.artemis;
import java.util.List;
import org.yamcs.YConfiguration;
import org.yamcs.tctm.ArtemisParameterDataLink;
/**
* takes Parameter data from yarch streams and publishes it to hornetq address (reverse of
* {@link ArtemisParameterDataLink})
*
* To avoid a ping-pong effect:
*
* - it creates a queue with a filter on hornet side
*
- it remembers a thread local version of the tuple in transition on yarch side
*
*/
public class ArtemisPpService extends AbstractArtemisTranslatorService {
@Deprecated
public ArtemisPpService(String instance, List streamNames) {
super(instance, streamNames, new PpTupleTranslator());
log.warn("DEPRECATION: Define stream names under 'args -> streamNames' "
+ "in the configuration of ArtemisPpService");
}
public ArtemisPpService(String instance, YConfiguration args) {
super(instance, args.getList("streamNames"), new PpTupleTranslator());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy