Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.13.1
-
None
-
Linux Ubuntu 14.04
16Gb Memory
Karaf 3.0.1
-
Unknown
Description
I have an Aggregator POJO with this method :
public Map<Hoteles, List<EventoPrecio>> agregaEventoPrecio(Map<Hoteles, List<EventoPrecio>> lista, EventoPrecio evento)
With this route :
from("timer://tesipro?fixedRate=true&period=60000").
beanRef("uploadARIService", "getEventosPrecio").
aggregate(constant(true), AggregationStrategies.bean(AgregadorEventos.class, "agregaEventoPrecio")).
completionSize(100).
log("Ejecucion de Quartz ");
And I get this error :
Error occurred during starting Camel: CamelContext(249-camel-9) due Parameter annotations at index 1 is not supported on method: public java.util.HashMap com.tesipro.conectores.interfaces.tesiproconpush.camel.AgregadorEventos.agregaEventoPrecio(java.util.HashMap,com.tesipro.conectores.domain.EventoPrecio)
It seems the problem is that annotations are not supported in the aggregator arguments nor in the argument class.