Here's the exception I get with my akka producer sending a CamelMessage to the jetty.websocket endpoint...
[ERROR] [11/24/2012 17:03:25.163] [SearchSystem-akka.actor.default-dispatcher-7] [akka://SearchSystem/user/$b] No body available of type: java.lang.String on: Message: [Body is null]. Caused by: No type converter available to convert from type: null to the required type: java.lang.String with value null. Exchange[Message: [Body is null]]. Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: null to the required type: java.lang.String with value null]
c2ec7f48-3232-496f-b36b-c98216070ae1akka.camel.AkkaCamelException: No body available of type: java.lang.String on: Message: [Body is null]. Caused by: No type converter available to convert from type: null to the required type: java.lang.String with value null. Exchange[Message: [Body is null]]. Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: null to the required type: java.lang.String with value null]
at akka.camel.ProducerSupport$$anonfun$produce$1.applyOrElse(Producer.scala:75)
at scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33)
at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33)
at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25)
at akka.camel.javaapi.UntypedProducerActor.onReceive(UntypedProducerActor.scala:51)
at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:159)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:420)
at akka.actor.ActorCell.invoke(ActorCell.scala:381)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:230)
at akka.dispatch.Mailbox.run(Mailbox.scala:212)
at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:502)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
Caused by: org.apache.camel.InvalidPayloadException: No body available of type: java.lang.String on: Message: [Body is null]. Caused by: No type converter available to convert from type: null to the required type: java.lang.String with value null. Exchange[Message: [Body is null]]. Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: null to the required type: java.lang.String with value null]
at org.apache.camel.impl.MessageSupport.getMandatoryBody(MessageSupport.java:101)
at org.apache.camel.component.websocket.WebsocketProducer.process(WebsocketProducer.java:43)
at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
at org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:120)
at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:292)
at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:115)
at akka.camel.ProducerSupport$ProducerChild.produce(Producer.scala:140)
at akka.camel.ProducerSupport$ProducerChild$$anonfun$receive$1.applyOrElse(Producer.scala:113)
... 9 more
Caused by: org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: null to the required type: java.lang.String with value null
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:169)
at org.apache.camel.impl.MessageSupport.getMandatoryBody(MessageSupport.java:99)
... 17 more