Docs / Yamcs Server Manual / Instance Services / Artemis TM Publisher

Artemis TM Publisher

Publish tm stream data to an Artemis broker.

Class Name

org.yamcs.artemis.ArtemisTmService

Configuration

This service is defined in etc/yamcs.(instance).yaml. Example from a typical deployment:

yamcs.simulator.yaml 
services:
  - class: org.yamcs.artemis.ArtemisTmService
    args: [tm_realtime, tm_dump]

args must be a an array of strings indicating which streams to publish. For each stream the target address is composed as instance.stream. In the example tuples from the streams tm_realtime and tm_dump are published to the addresses simulator.tm_realtime and simulator.tm_dump respectively.

By default, messages are published to an embedded broker (in-VM). This assumes that Artemis Server was configured as a global service. In order to use an external broker you can configure the property artemisUrl in either etc/yamcs.(instance).yaml or etc/yamcs.yaml:

yamcs.simulator.yaml 
artemisUrl: tcp://remote-host1:5445
yamcs.yaml 
artemisUrl: tcp://remote-host1:5445

If defined, the instance-specific configuration is selected over the global configuration. The URL format follows Artemis conventions and is not further detailed in this manual.