Spring 框架下mock eventbus的方法
@Component
@RequiredArgsConstructor
@Transactional
public class ClaimEnrichedHandler {
@Autowired
@Qualifier(INCOMING)
private final EventSource eventSource;
@Autowired
@Qualifier(OUTGOING)
private final EventPublisher even
原创
2019-10-23 03:11:31 ·
277 阅读 ·
0 评论