Hi ,
I am using Axon Framework and trying some example using distributed command bus.
I have 2 Aggregates 1>ToDoItem 2>AnotherToDoItem
ToDoItem aggregate have two commands 1>CreateToDoItemCommand 2>MarkCompletedCommand
CaseAggregate have one command 1>CreateAnotherToDoItemCommand
When I run this code getting following result:
Please enter the load factor to join with: [100]
1
Using a load factor 1 when connecting to the cluster.
GossipRouter started at Wed Apr 30 18:11:43 IST 2014
Listening on port 12001 bound on address 0.0.0.0/0.0.0.0
Backlog is 1000, linger timeout is 2000, and read timeout is 0
35 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@64482923: startup date [Wed Apr 30 18:11:44 IST 2014]; root of context hierarchy
72 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [distributed-config.xml]
406 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Bean ‘(inner bean)’ of type [class org.axonframework.contextsupport.spring.SpringContextParameterResolverFactoryBuilder$ClasspathParameterResolverFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
410 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Bean ‘(inner bean)’ of type [class org.axonframework.common.annotation.ClasspathParameterResolverFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
411 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Bean ‘(inner bean)#1’ of type [class org.axonframework.common.annotation.SpringBeanParameterResolverFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
429 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Bean ‘__axon-parameter-resolver-factory’ of type [class org.axonframework.contextsupport.spring.ApplicationContextLookupParameterResolverFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
429 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Bean ‘__axon-parameter-resolver-factory’ of type [class org.axonframework.common.annotation.MultiParameterResolverFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
448 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@28787c16: defining beans [org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0,org.springframework.context.annotation.internalAsyncAnnotationProcessor,org.springframework.context.annotation.internalScheduledAnnotationProcessor,taskExecutor,commandBus,commandGateway,eventStore,eventBus,toDoRepository,__axon-parameter-resolver-factory,org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandlerFactoryBean#0,caseRepository,org.axonframework.commandhandling.annotation.AggregateAnnotationCommandHandlerFactoryBean#1,jGroupsConnector,jGroupsConnector1,__axon-annotation-command-handler-bean-post-processor,__axon-annotation-event-listener-bean-post-processor,org.axonframework.quickstart.annotated.ToDoEventHandler#0,org.axonframework.quickstart.annotated.CaseActiveEventHandler#0,org.axonframework.serializer.xml.XStreamSerializer#0]; root of factory hierarchy
453 [main] INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService ‘taskExecutor’
Apr 30, 2014 6:11:44 PM org.jgroups.logging.JDKLogImpl info
INFO: UFC is not needed (and can be removed) as we’re running on a TCP transport
Apr 30, 2014 6:11:44 PM org.jgroups.logging.JDKLogImpl info
INFO: UFC is not needed (and can be removed) as we’re running on a TCP transport
927 [main] INFO org.springframework.context.support.DefaultLifecycleProcessor - Starting beans in phase 0
930 [main] INFO org.springframework.context.support.DefaultLifecycleProcessor - Starting beans in phase 2147483647