Permalink
Browse files

Updated trader to use Axon 2 rc1

  • Loading branch information...
1 parent cd9937b commit 1b73b196a1634b9612d609e747e8c00b743f1fda @abuijze abuijze committed Dec 22, 2012
@@ -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"/>
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>
@@ -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;

0 comments on commit 1b73b19

Please sign in to comment.