ticket #2322 updated camel to 2.10.0

ticket #1928  added camel samples to a proper sample project
This commit is contained in:
RayRoestenburg 2012-08-09 19:30:32 +02:00
parent 234ffa62e6
commit 7071ac2b8d
17 changed files with 144 additions and 193 deletions

View file

@ -29,7 +29,7 @@ object HttpExample {
class HttpTransformer extends Actor {
def receive = {
case msg: CamelMessage sender ! (msg.mapBody { body: String body replaceAll ("Akka ", "AKKA ") })
case msg: CamelMessage sender ! (msg.mapBody { body: Array[Byte] new String(body).replaceAll("Akka ", "AKKA ") })
case msg: Failure sender ! msg
}
}