Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated trader to use Axon 2 rc1

  • Loading branch information...
commit 1b73b196a1634b9612d609e747e8c00b743f1fda 1 parent cd9937b
Allard Buijze abuijze authored
5 infrastructure/src/main/resources/META-INF/spring/cqrs-infrastructure-context.xml
View
@@ -35,10 +35,11 @@
<bean id="sagaRepository" class="org.axonframework.saga.repository.mongo.MongoSagaRepository">
<constructor-arg ref="mongoSagaTemplate"/>
+ <property name="resourceInjector">
+ <bean class="org.axonframework.saga.spring.SpringResourceInjector"/>
+ </property>
</bean>
- <bean id="resourceInjector" class="org.axonframework.saga.spring.SpringResourceInjector"/>
-
<bean id="snapshotter" class="org.axonframework.eventsourcing.SpringAggregateSnapshotter">
<property name="eventStore" ref="eventStore"/>
<property name="executor" ref="taskExecutor"/>
2  pom.xml
View
@@ -27,7 +27,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <axon.version>2.0-m3</axon.version>
+ <axon.version>2.0-rc1</axon.version>
<slf4j.version>1.6.6</slf4j.version>
<spring.version>3.1.1.RELEASE</spring.version>
<spring.security.version>3.1.0.RELEASE</spring.security.version>
4 users-query/src/main/java/org/axonframework/samples/trader/query/users/UserEntry.java
View
@@ -18,10 +18,12 @@
import org.axonframework.samples.trader.api.users.UserAccount;
+import java.io.Serializable;
+
/**
* @author Jettro Coenradie
*/
-public class UserEntry implements UserAccount {
+public class UserEntry implements UserAccount, Serializable {
private String identifier;
private String name;
Please sign in to comment.
Something went wrong with that request. Please try again.