I would like to use the following annotation
@AsynchronousEventListener(sequencingPolicyClass =
SequentialPolicy.class) . The motivation for this is that I want
multiple event-handlers for the same event to run concurrently. I
understand that it requires a thread-pool-executor. Could you tell me
how I would specify the thread-pool-executor?
It might be mentioned that I am NOT using event-sourcing. Also, for
event bus, I am using an instance of SimpleEventBus. The spring config
is follows:
<!--<axon:event-bus id="eventBus"/>-->
<bean id="bus"
class="org.axonframework.eventhandling.SimpleEventBus"></bean>
The reason for doing is that I could not figure out the class-type
specified by <axon:event-bus id="eventBus"/> and I had to access the
underling class/interface to publish events.
Thanks,
Jamil