trying to use this route: from("activemq:profiles").aggregate(header("cheese")).batchSize(30).bean(ProfilesQueueService, "saveContacts")
Fails with:
No signature of method: org.apache.camel.model.RouteType.aggregate() is applicable for argument types: (org.apache.camel.builder.ValueBuilder) values: [header(cheese)]
Using apache camel 1.6.1 I've checked RouteTypes.java. Indeed there's no aggregate() method. However, this docs says it must work: http://camel.apache.org/aggregator.html
What I'm doing wrong?