org.axonframework.queryhandling.QueryUpdateEmitter Java Examples
The following examples show how to use
org.axonframework.queryhandling.QueryUpdateEmitter.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: OrderBookEventHandler.java From ESarch with Apache License 2.0 | 5 votes |
public OrderBookEventHandler(OrderBookViewRepository orderBookRepository, CompanyViewRepository companyRepository, TradeExecutedQueryRepository tradeExecutedRepository, QueryUpdateEmitter queryUpdateEmitter) { this.orderBookRepository = orderBookRepository; this.companyRepository = companyRepository; this.tradeExecutedRepository = tradeExecutedRepository; this.queryUpdateEmitter = queryUpdateEmitter; }
Example #2
Source File: AxonCdiExtension.java From cdi with Apache License 2.0 | 5 votes |
<T> void processQueryUpdateEmitterProducer( @Observes final ProcessProducer<T, QueryUpdateEmitter> processProducer) { // TODO Handle multiple producer definitions. logger.debug("Producer for query update emitter found: {}.", processProducer.getProducer()); this.queryUpdateEmitterProducer = processProducer.getProducer(); }