The aggregation strategy is optional. If you do not provide it Camel will by default just use the body obtained from the resource.
from("direct:start") .enrich("direct:resource") .to("direct:result");
In the route above the message send to the
direct:result endpoint will
contain the output from the
direct:resource as we do not use any custom
And in Spring DSL just omit the
<route> <from uri="direct:start"/> <enrich uri="direct:resource"/> <to uri="direct:result"/> </route>