Permalink
Browse files

Added first attempt at splitting the messages into their own separate…

… abstraction of a 'hand'
  • Loading branch information...
christian-posta committed Aug 24, 2011
1 parent 84b60da commit 82d773915f17fca7263f34f0b143eb6d1caccb7e
View
@@ -25,6 +25,17 @@
<version>4.7</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-xstream</artifactId>
+ <version>2.8.0</version>
+ </dependency>
+ <dependency>
+ <groupId>xstream</groupId>
+ <artifactId>xstream</artifactId>
+ <version>1.1.3</version>
+ </dependency>
+
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
@@ -39,7 +39,10 @@ public void configure() throws Exception {
.end()
.log("What we have so far \"${body}\"")
.beanRef("dealer")
- .to("mock:players");
+ .to("mock:players")
+ .split(body())
+ .marshal().xstream().to("stream:out");
+
}
};

0 comments on commit 82d7739

Please sign in to comment.