Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

… abstraction of a 'hand'
  • Loading branch information...
commit 82d773915f17fca7263f34f0b143eb6d1caccb7e 1 parent 84b60da
@christian-posta authored
View
11 deck-of-cards/pom.xml
@@ -26,6 +26,17 @@
<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>
<version>2.4</version>
View
5 deck-of-cards/src/test/java/com/christianposta/fuse/integration/DealCardsTest.java
@@ -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");
+
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.