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);
}
Aggregations