this method allows axon to automatically find your @eventhandler 's concode_field_sep String AMQP_CONFIG_KEY concode_elem_sep Mongo mongo concode_elem_sep String snapshotCollectionName concode_elem_sep String queueName concode_elem_sep String databaseName concode_elem_sep ConnectionFactory connectionFactory concode_elem_sep String eventsCollectionName concode_elem_sep RabbitTransactionManager transactionManager concode_elem_sep String exchangeName concode_field_sep ListenerContainerLifecycleManager listenerContainerLifecycleManager concode_elem_sep EventStore eventStore concode_elem_sep AggregateAnnotationCommandHandler<ProductAggregate> productAggregateCommandHandler concode_elem_sep CommandGatewayFactoryBean<CommandGateway> commandGatewayFactoryBean concode_elem_sep SpringAMQPConsumerConfiguration springAMQPConsumerConfiguration concode_elem_sep CommandBus commandBus concode_elem_sep SimpleCluster simpleCluster concode_elem_sep EventBusTerminal terminal concode_elem_sep JacksonSerializer axonJsonSerializer concode_elem_sep EventSourcingRepository<ProductAggregate> productEventSourcingRepository concode_elem_sep EventBus eventBus concode_elem_sep MongoTemplate axonMongoTemplate concode_elem_sep AnnotationCommandHandlerBeanPostProcessor commandHandlerBeanPostProcessor
AnnotationEventListenerBeanPostProcessor function ( ) { AnnotationEventListenerBeanPostProcessor loc0 = new AnnotationEventListenerBeanPostProcessor ( ) ; loc0 . setEventBus ( eventBus ( ) ) ; return loc0 ; }