Thanks Claus , I will have a go with it.
Remi
On 11/22/2010 10:42 AM, Claus Ibsen wrote:
On Mon, Nov 22, 2010 at 11:33 AM, Remi Malessa<[email protected]> wrote:
Hi.
I have a route when I'm sending from activemq to a Java class (POJO).
The problem is the message is of type JDom. I've read the type converter
http://camel.apache.org/type-converter.html manual
but can't find how to use a type converter with a POJO.
You can implement your custom type converter and have Camel pickup and
use it automatic.
http://camel.apache.org/type-converter.html
Camel in Action book chapter 3 covers this as well.
But if the message was sent as an Object JMS message then you can just
define the parameter as the same type
public void doSomething(JDom dom) {
...
}
Could somebody give me a hint, please ?
Cheers
Remi