EventProcessor as the replacement for Replay in Axon3

64 views
Skip to first unread message

Meng Jiann Lee

unread,
Oct 6, 2016, 5:57:46 AM10/6/16
to Axon Framework Users
Hi,

Anyone can share the code example to query the events stored in the event store? I was looking at the axon trader sample project but couldnt find any examples.

FYI, I m using mongodb as the event store. 

Thanks.

MJ

Mehdi Ben Abdallah

unread,
Oct 8, 2016, 11:42:23 AM10/8/16
to Axon Framework Users
i'd build a projection and query it instead.
if you really need to query your source of truth, build a query facade that uses the mongo api, so you can still do the above later and only impact your query implementation

Mehdi

Meng Jiann Lee

unread,
Oct 9, 2016, 7:08:50 AM10/9/16
to Axon Framework Users
Hi Mehdi,

Cool. I think i will start as that for now. Thanks.

Btw, M5 is released! :)

MJ

Reply all
Reply to author
Forward
0 new messages