@Component
public class SubService
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean
| 限定符和类型 | 字段和说明 |
|---|---|
static org.slf4j.Logger |
logger |
| 构造器和说明 |
|---|
SubService() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
void |
cleanup() |
void |
consumeMessage(java.lang.String msg)
Count the message already consumed
|
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanjava.lang.Exception@PreDestroy public void cleanup()
public void consumeMessage(java.lang.String msg)