Search in sources :

Example 1 with LogMessage

use of org.finos.symphony.toolkit.stream.log.LogMessage in project spring-bot by finos.

the class SymphonyLeaderEventFilterIT method createLeaderEvent.

private void createLeaderEvent(int i) {
    LogMessage lm = new LogMessage("test", new Participant("p" + i), LogMessageType.LEADER);
    String messageMl = lmh.createMessageML(lm);
    String json = lmh.serializeJson(lm);
    messagesApi.v4StreamSidMessageCreatePost(null, streamId, messageMl, json, null, null, null, null);
}
Also used : Participant(org.finos.symphony.toolkit.stream.Participant) LogMessage(org.finos.symphony.toolkit.stream.log.LogMessage)

Aggregations

Participant (org.finos.symphony.toolkit.stream.Participant)1 LogMessage (org.finos.symphony.toolkit.stream.log.LogMessage)1