Richard Searle


akka, camel and UuidGenerator surprises

07 Dec 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
setUuidGenerator(new org.apache.camel.impl.SimpleUuidGenerator)