@Component
public class SubService
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
SubService() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
cleanup() |
void |
consumeMessage(java.lang.String msg)
Count the message already consumed
|
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception@PreDestroy public void cleanup()
public void consumeMessage(java.lang.String msg)