CamelCookbook / camel-cookbook-examples

Example source code for Apache Camel Developer's Cookbook
http://www.packtpub.com/apache-camel-developers-cookbook/book
Apache License 2.0
262 stars 188 forks source link

splitjoin/aggregate/SetAggregationStrategy #31

Open jkorab opened 9 years ago

jkorab commented 9 years ago
        Set<String> set = oldExchange.getIn().getBody(Set.class);

changed to: @SuppressWarnings("unchecked") Set set = Collections.checkedSet(oldExchange.getIn().getBody(Set.class), String.class);

jkorab commented 9 years ago

Also in: splitjoin/splitaggregate/ExceptionHandlingSetAggregationStrategy splitjoin/aggregate/Test splitjoin/aggregateparallel/Test splitjoin/aggregatetimeouts/Test splitjoin/splitaggregate/Test splitjoin/splitreaggregate/*Test