Richard Searle's Blog

Thoughts about software

Archive for December, 2010

akka, camel and UuidGenerator surprises

Posted by eggsearle on December 7, 2010

A test using Akka 1.0 to implement a request-response JMS interaction failed with a missing class:org.apache.camel.util.UuidGenerator

The Camel documentation does not really explain why this occurs since it references other classes and indicates UuidGenerator is not the default. The source of the error thus remains a mystery.

The solution is fortunately straightforward, using the following code to explicitly specify the generator

CamelContextManager.mandatoryContext.
setUuidGenerator(new org.apache.camel.impl.SimpleUuidGenerator)

Posted in Uncategorized | Leave a Comment »