Hi,

> Is it possibile to update MongoDb Objects from a route defined in a
> blueprint XML file?

Sure it is :) .

> I cannot find an example of creating a List<DBObject>
> without java code.

Yeah, the route itself can be defined in XML, but the body you send
into that route may require something more expressive than XML :) . If
you would like to set some non-trivial body in the route (like
DbObject instance), you can consider using Groovy component [1] for
that:

<setBody>
  <groovy>new DbObject(...)</groovy>
</setBody>

However in most cases you would like to create the body outside the
route and send it to the consumer starting that route.

Cheers.

[1] http://camel.apache.org/groovy.html

-- 
Henryk Konsek
http://henryk-konsek.blogspot.com

Reply via email to