Hi

Yeah you can use aggregationStrategyRef to refer to the bean id.

aggregate(header(CORRELATION_HEADER_KEY)).aggregationStrategyRef("xxxx")...

On Wed, Jun 26, 2013 at 5:57 PM, Jothi <codeintheo...@gmail.com> wrote:
> Guys,
>
> I have the following route:
>
> from("direct:aggregate").aggregate(header(CORRELATION_HEADER_KEY), new
> MyAggregationStrategy()).completionTimeout(3000).to(DIRECT_FINISH_AGGREGATE).routeId("myAggregator");
>
> I want this new MyAggregationStrategy() to be injected via a bean definition
> from my blueprint.xml. Is there a way to do this?
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Aggregator-to-be-pulled-from-the-bean-definition-tp5734826.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to