com.jdon.annotation.model
注释类型 Send
@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface Send
Domain Model should normal live in memory not in database. so cache in memory
is very important for domain model life cycle.
Example producer: com.jdon.sample.test.domain.onecase.DomainEvent
Consumer:com.jdon.sample.test.domain.onecase.DomainListener
Domain Model producer /Consumer:
1. annotate the producer class with @Model and @Introduce("message")
- 作者:
- banQ
- 另请参见:
ModelIF
value
public abstract String value
- topic/queue name
- 返回:
- topic/queue name
asyn
public abstract boolean asyn
- 默认值:
- true
Copyright © 2013. All Rights Reserved.