public class HeartbeatConsumer extends Object implements MessageConsumer<MinionIdentityDTO,MinionIdentityDTO>, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
HeartbeatConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
ThreadPoolExecutor |
getExecutor() |
SinkModule<MinionIdentityDTO,MinionIdentityDTO> |
getModule() |
void |
handleMessage(MinionIdentityDTO minionHandle) |
void |
setEventSubscriptionService(EventSubscriptionService eventSubscriptionService) |
void |
shutdown() |
@Transactional public void handleMessage(MinionIdentityDTO minionHandle)
handleMessage in interface MessageConsumer<MinionIdentityDTO,MinionIdentityDTO>public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void shutdown()
public SinkModule<MinionIdentityDTO,MinionIdentityDTO> getModule()
getModule in interface MessageConsumer<MinionIdentityDTO,MinionIdentityDTO>public void setEventSubscriptionService(EventSubscriptionService eventSubscriptionService)
public ThreadPoolExecutor getExecutor()
Copyright © 2022. All rights reserved.