Search in sources :

Example 1 with Multicaster

use of org.finos.symphony.toolkit.stream.cluster.Multicaster in project spring-bot by finos.

the class SharedStreamWebConfig method multicaster.

@Bean
@ConditionalOnMissingBean
public Multicaster multicaster() {
    Participant me = selfParticipant();
    Multicaster out = new HttpMulticaster(me, (int) streamProperties.getTimeoutMs() / 2);
    return out;
}
Also used : Participant(org.finos.symphony.toolkit.stream.Participant) Multicaster(org.finos.symphony.toolkit.stream.cluster.Multicaster) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) Bean(org.springframework.context.annotation.Bean)

Aggregations

Participant (org.finos.symphony.toolkit.stream.Participant)1 Multicaster (org.finos.symphony.toolkit.stream.cluster.Multicaster)1 ConditionalOnMissingBean (org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean)1 Bean (org.springframework.context.annotation.Bean)1