camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Douglass <douglass.d...@gmail.com>
Subject Re: Strange Behavior Using Collections in Camel processor
Date Fri, 25 Sep 2015 14:01:21 GMT
Has nothing to do with Camel.

There is only a single instance of listItem created. In the for loops, this
single instance is emptied (listItem.clear()) and repeatedly added to the
listOfRecords.

Replace listItem.clear() with listItem = new ArrayList() and see what
happens.

On Fri, Sep 25, 2015 at 12:26 AM, contactreji <contactreji@gmail.com> wrote:

> Hello guys
>
> In my use case, I am getting 2 jdbc: component results in 2 headers namely
> Q1_Resultset and Q2_Resultset. In my processor, I am trying to find the
> Join
> of above 2 result sets as data are coming from different heterogenous
> databases.
>
> After calculating joins, I am adding each join row into a List.  Code
> below-
> everything is fine until the statement *listOfRecords.add(listItem);*
>
> I have attached complete log with this. The statement
> *LOGGER.info("SET::\n"+listItem.toString());* prints each record perfectly
> fine separately. But when I add them to listOfRecords list, when I print
> that list, all i see is duplicate occurrances of the last listItem in the
> entire Collection.
>
> Isn't this something strange? Where did the other listItems go?
>
> package com.ds.DS_Case3;
>
> import java.util.ArrayList;
> import java.util.HashMap;
> import java.util.LinkedList;
> import java.util.List;
> import java.util.Map;
> import java.util.logging.Logger;
>
> import org.apache.camel.Exchange;
> import org.apache.camel.Processor;
>
> public class JoinResultSetsImpl implements Processor {
>
>
>         private static final Logger LOGGER =
> Logger.getLogger(JoinResultSetsImpl.class.getName());
>
>         @Override
>         public void process(Exchange exchange) throws Exception {
>
>                 List<Map&lt;String, Object>> innerJoinResult = null;
>                 Map<String,Object> joinedRecord=null;
>                 List<Map> joinedRecords=null;
>                 List<List> listOfRecords=new ArrayList<List>();
>                 List listItem=new ArrayList();
>
>                 int i = 0, j = 0;
>                 innerJoinResult = new ArrayList<Map&lt;String, Object>>();
>                 joinedRecord = new HashMap<String,Object>();
>                 joinedRecords = new ArrayList<Map>();
>                 @SuppressWarnings("unchecked")
>                 List<Map&lt;String, Object>> resultset1 =
> (List<Map&lt;String, Object>>)
> exchange
>                                 .getIn().getHeader("Q1_Resultset");
>                 @SuppressWarnings("unchecked")
>                 List<Map&lt;String, Object>> resultset2 =
> (List<Map&lt;String, Object>>)
> exchange
>                                 .getIn().getHeader("Q2_Resultset");
>
>                 for (i = 0; i < resultset1.size(); i++) {
>                         for (j = 0; j < resultset2.size(); j++) {
>                                 if
> ((resultset1.get(i).get("BPART_I").equals(resultset2.get(j)
>                                                 .get("BPART_I")))
>                                                 &&
> (resultset1.get(i).get("BPART_ROLE_I")
>
> .equals(resultset2.get(j).get("BPART_ROLE_I")))) {
>
>                                         listItem.clear();
>
>
> listItem.add(resultset2.get(j).get("BPART_I"));
>
> listItem.add(resultset2.get(j).get("BPART_ROLE_I"));
>
> listItem.add(resultset2.get(j).get("SRC_SYS_I"));
>
> listItem.add(resultset2.get(j).get("LGCY_SRC_BPART_N"));
>
> listItem.add(resultset2.get(j).get("LGCY_SRC_BPART_TYPE_I"));
>
>                                         listOfRecords.add(listItem);
>
>
> LOGGER.info("SET::\n"+listItem.toString());
>
>                                         joinedRecords.add(joinedRecord);
>
>
>                                 }
>                         }
>                 }
>
>                 System.out.println("Sending Following Out to ROUTES -
> "+listOfRecords+ "
> and class is "+ listOfRecords.getClass());
>                 exchange.getIn().setBody(listOfRecords);
>         }
>
> }
>
>
>
>
>
>
>
> *
> [mel-1) thread #3 - timer://foo] route1                         INFO
> Header
> Q1_Resultset is now [{BPART_I=210, BPART_ROLE_I=8, BUS_PTY_I=16050},
> {BPART_I=734, BPART_ROLE_I=10, BUS_PTY_I=16793931}, {BPART_I=935,
> BPART_ROLE_I=8, BUS_PTY_I=16802603}, {BPART_I=937, BPART_ROLE_I=10,
> BUS_PTY_I=16802742}, {BPART_I=2630, BPART_ROLE_I=8, BUS_PTY_I=16878291},
> {BPART_I=3253, BPART_ROLE_I=8, BUS_PTY_I=17774}, {BPART_I=3396,
> BPART_ROLE_I=8, BUS_PTY_I=18478}, {BPART_I=3682, BPART_ROLE_I=8,
> BUS_PTY_I=24319}, {BPART_I=4264, BPART_ROLE_I=8, BUS_PTY_I=38813},
> {BPART_I=4484, BPART_ROLE_I=8, BUS_PTY_I=62466}, {BPART_I=4686,
> BPART_ROLE_I=8, BUS_PTY_I=63913}, {BPART_I=4796, BPART_ROLE_I=8,
> BUS_PTY_I=64570}, {BPART_I=4856, BPART_ROLE_I=8, BUS_PTY_I=64849},
> {BPART_I=5268, BPART_ROLE_I=10, BUS_PTY_I=77077}, {BPART_I=5528,
> BPART_ROLE_I=8, BUS_PTY_I=85599}, {BPART_I=5940, BPART_ROLE_I=8,
> BUS_PTY_I=18082}, {BPART_I=6440, BPART_ROLE_I=8, BUS_PTY_I=18233},
> {BPART_I=6829, BPART_ROLE_I=8, BUS_PTY_I=61853}, {BPART_I=7400,
> BPART_ROLE_I=8, BUS_PTY_I=84729}, {BPART_I=12030, BPART_ROLE_I=8,
> BUS_PTY_I=20619}, {BPART_I=16113, BPART_ROLE_I=8, BUS_PTY_I=16945189},
> {BPART_I=24383, BPART_ROLE_I=8, BUS_PTY_I=16981956}, {BPART_I=26379,
> BPART_ROLE_I=8, BUS_PTY_I=16990216}, {BPART_I=27038, BPART_ROLE_I=8,
> BUS_PTY_I=18491923}, {BPART_I=27483, BPART_ROLE_I=8, BUS_PTY_I=18493194},
> {BPART_I=31713, BPART_ROLE_I=8, BUS_PTY_I=18503231}, {BPART_I=32020,
> BPART_ROLE_I=8, BUS_PTY_I=18507638}, {BPART_I=34029, BPART_ROLE_I=8,
> BUS_PTY_I=18527561}, {BPART_I=37300, BPART_ROLE_I=8, BUS_PTY_I=18588714},
> {BPART_I=37965, BPART_ROLE_I=8, BUS_PTY_I=18708445}, {BPART_I=40612,
> BPART_ROLE_I=8, BUS_PTY_I=18699443}, {BPART_I=42729, BPART_ROLE_I=8,
> BUS_PTY_I=18744754}, {BPART_I=42730, BPART_ROLE_I=8, BUS_PTY_I=18744544},
> {BPART_I=43722, BPART_ROLE_I=8, BUS_PTY_I=18745975}, {BPART_I=43890,
> BPART_ROLE_I=8, BUS_PTY_I=18747179}, {BPART_I=44056, BPART_ROLE_I=8,
> BUS_PTY_I=18747382}, {BPART_I=44192, BPART_ROLE_I=8, BUS_PTY_I=18747557},
> {BPART_I=44193, BPART_ROLE_I=8, BUS_PTY_I=18747510}, {BPART_I=44364,
> BPART_ROLE_I=8, BUS_PTY_I=18748185}, {BPART_I=44373, BPART_ROLE_I=8,
> BUS_PTY_I=18747897}, {BPART_I=44422, BPART_ROLE_I=8, BUS_PTY_I=18748354},
> {BPART_I=44424, BPART_ROLE_I=8, BUS_PTY_I=18748358}, {BPART_I=44488,
> BPART_ROLE_I=8, BUS_PTY_I=18748359}, {BPART_I=44532, BPART_ROLE_I=8,
> BUS_PTY_I=18748225}, {BPART_I=44550, BPART_ROLE_I=8, BUS_PTY_I=18748365},
> {BPART_I=44554, BPART_ROLE_I=8, BUS_PTY_I=18748366}, {BPART_I=44601,
> BPART_ROLE_I=6, BUS_PTY_I=18748458}, {BPART_I=44615, BPART_ROLE_I=8,
> BUS_PTY_I=18748350}, {BPART_I=44620, BPART_ROLE_I=8, BUS_PTY_I=18748462},
> {BPART_I=44621, BPART_ROLE_I=8, BUS_PTY_I=18748456}, {BPART_I=44626,
> BPART_ROLE_I=8, BUS_PTY_I=18748455}, {BPART_I=44665, BPART_ROLE_I=8,
> BUS_PTY_I=18748392}, {BPART_I=44669, BPART_ROLE_I=8, BUS_PTY_I=18748454}]
> [mel-1) thread #3 - timer://foo] route1                         INFO
> Header
> Q2_Resultset is now [{BPART_I=210, BPART_ROLE_I=8, SRC_SYS_I=1069574,
> LGCY_SRC_BPART_N=WENZEL CO, THE / FLC, LGCY_SRC_BPART_TYPE_I=1901},
> {BPART_I=210, BPART_ROLE_I=8, SRC_SYS_I=4814483, LGCY_SRC_BPART_N=WENZEL
> COMPANY, LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=210, BPART_ROLE_I=8,
> SRC_SYS_I=1333608, LGCY_SRC_BPART_N=WENZEL COMPANY/DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=935, BPART_ROLE_I=8,
> SRC_SYS_I=1211005, LGCY_SRC_BPART_N=LUMISOURCE INC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=935, BPART_ROLE_I=8,
> SRC_SYS_I=1221985, LGCY_SRC_BPART_N=LUMISOURCE INC / FLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=935, BPART_ROLE_I=8,
> SRC_SYS_I=1329942, LGCY_SRC_BPART_N=LUMISOURCE INC/DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=2630, BPART_ROLE_I=8,
> SRC_SYS_I=1271375, LGCY_SRC_BPART_N=KATE ASPEN, INC./DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=2630, BPART_ROLE_I=8,
> SRC_SYS_I=1259546, LGCY_SRC_BPART_N=BABY ASPEN/DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=3253, BPART_ROLE_I=8,
> SRC_SYS_I=4481890, LGCY_SRC_BPART_N=SUTTON, A.D.& SONS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=3396, BPART_ROLE_I=8,
> SRC_SYS_I=1092596, LGCY_SRC_BPART_N=PROCTER & GAMBLE PREDISTR,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=3396, BPART_ROLE_I=8,
> SRC_SYS_I=3639384, LGCY_SRC_BPART_N=PROCTER & GAMBLE COSMETIC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=3396, BPART_ROLE_I=8,
> SRC_SYS_I=3872918, LGCY_SRC_BPART_N=PROCTER & GAMBLE DIST LLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=3682, BPART_ROLE_I=8,
> SRC_SYS_I=1140875, LGCY_SRC_BPART_N=EVOLUTION LIGHTING LLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=3682, BPART_ROLE_I=8,
> SRC_SYS_I=1151136, LGCY_SRC_BPART_N=EVOLUTION LIGHTING / FLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=3682, BPART_ROLE_I=8,
> SRC_SYS_I=3576544, LGCY_SRC_BPART_N=NICOLE CORP,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=4264, BPART_ROLE_I=8,
> SRC_SYS_I=1096204, LGCY_SRC_BPART_N=PINNACLE FOODS GRPINC/DFD,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=4264, BPART_ROLE_I=8,
> SRC_SYS_I=1220148, LGCY_SRC_BPART_N=BIRDS EYE FOOD**MERGE***,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=4484, BPART_ROLE_I=8,
> SRC_SYS_I=1366808, LGCY_SRC_BPART_N=BIC USA INC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=4484, BPART_ROLE_I=8,
> SRC_SYS_I=1263312, LGCY_SRC_BPART_N=SOLOGEAR, LGCY_SRC_BPART_TYPE_I=1901},
> {BPART_I=4686, BPART_ROLE_I=8, SRC_SYS_I=1261110, LGCY_SRC_BPART_N=HAWAIIAN
> HOST, INC., LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=4686, BPART_ROLE_I=8,
> SRC_SYS_I=1333077, LGCY_SRC_BPART_N=HAWAIIAN HOST CANDIES OF,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=4796, BPART_ROLE_I=8,
> SRC_SYS_I=1099654, LGCY_SRC_BPART_N=PATTON PICTURE COMPANY,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=4796, BPART_ROLE_I=8,
> SRC_SYS_I=1222719, LGCY_SRC_BPART_N=PATTON PICTURE CO / FLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=4856, BPART_ROLE_I=8,
> SRC_SYS_I=1103139, LGCY_SRC_BPART_N=CONTINENTAL FRAGRANCES,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=5528, BPART_ROLE_I=8,
> SRC_SYS_I=1198940, LGCY_SRC_BPART_N=HYBRID PROMOTIONS LLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=5528, BPART_ROLE_I=8,
> SRC_SYS_I=1166862, LGCY_SRC_BPART_N=AWAKE INC, LGCY_SRC_BPART_TYPE_I=1901},
> {BPART_I=5528, BPART_ROLE_I=8, SRC_SYS_I=2767794, LGCY_SRC_BPART_N=JEM
> SPORTSWEAR, LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=5940, BPART_ROLE_I=8,
> SRC_SYS_I=1110737, LGCY_SRC_BPART_N=CONAIR / CORDED,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=5940, BPART_ROLE_I=8,
> SRC_SYS_I=1767009, LGCY_SRC_BPART_N=CONAIR CORP,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=5940, BPART_ROLE_I=8,
> SRC_SYS_I=1767012, LGCY_SRC_BPART_N=CONAIR CORPORATION / FLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=6440, BPART_ROLE_I=8,
> SRC_SYS_I=1018020, LGCY_SRC_BPART_N=OUTERSTUFF LTD,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=6440, BPART_ROLE_I=8,
> SRC_SYS_I=1118043, LGCY_SRC_BPART_N=OUTERSTUFF/DIAMOND / FLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=6829, BPART_ROLE_I=8,
> SRC_SYS_I=4057800, LGCY_SRC_BPART_N=ABBOTT NUTRITION,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=6829, BPART_ROLE_I=8,
> SRC_SYS_I=1085176, LGCY_SRC_BPART_N=ZONEPERFECT,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=6829, BPART_ROLE_I=8,
> SRC_SYS_I=1095409, LGCY_SRC_BPART_N=EAS, INC, LGCY_SRC_BPART_TYPE_I=1901},
> {BPART_I=7400, BPART_ROLE_I=8, SRC_SYS_I=1188727, LGCY_SRC_BPART_N=MOUNT
> OLIVE PICKLE CO INC, LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=12030,
> BPART_ROLE_I=8, SRC_SYS_I=1058446, LGCY_SRC_BPART_N=XCELL INTERNATIONAL,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=16113, BPART_ROLE_I=8,
> SRC_SYS_I=1299373, LGCY_SRC_BPART_N=DIVA INTERNATIONAL INC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=24383, BPART_ROLE_I=8,
> SRC_SYS_I=1310896, LGCY_SRC_BPART_N=SOFT STYLE/DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=24383, BPART_ROLE_I=8,
> SRC_SYS_I=1340659, LGCY_SRC_BPART_N=SOFT STYLE INC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=26379, BPART_ROLE_I=8,
> SRC_SYS_I=1311772, LGCY_SRC_BPART_N=LOVE GROWN FOODS LLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=27038, BPART_ROLE_I=8,
> SRC_SYS_I=1343106, LGCY_SRC_BPART_N=SELLERS PUBLISHING/DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=27483, BPART_ROLE_I=8,
> SRC_SYS_I=1315574, LGCY_SRC_BPART_N=MIXIE BABY/DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=32020, BPART_ROLE_I=8,
> SRC_SYS_I=1323032, LGCY_SRC_BPART_N=NATURAL VITALITY,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=34029, BPART_ROLE_I=8,
> SRC_SYS_I=1333695, LGCY_SRC_BPART_N=ESSE ENTERPRISES LLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=34029, BPART_ROLE_I=8,
> SRC_SYS_I=1333718, LGCY_SRC_BPART_N=ESSE ENTERPRISES LLC/DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=34029, BPART_ROLE_I=8,
> SRC_SYS_I=1321995, LGCY_SRC_BPART_N=ESSE SALES INC/DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=37965, BPART_ROLE_I=8,
> SRC_SYS_I=1337167, LGCY_SRC_BPART_N=CURRAN CO INC,
> LGCY_SRC_BPART_TYPE_I=1901}]
> [mel-1) thread #3 - timer://foo]  ${body}                       INFO
> Exchange[ExchangePattern: InOnly, BodyType: java.util.ArrayList, Body:
> [{BPART_I=210, BPART_ROLE_I=8, SRC_SYS_I=1069574, LGCY_SRC_BPART_N=WENZEL
> CO, THE / FLC, LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=210, BPART_ROLE_I=8,
> SRC_SYS_I=4814483, LGCY_SRC_BPART_N=WENZEL COMPANY,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=210, BPART_ROLE_I=8,
> SRC_SYS_I=1333608, LGCY_SRC_BPART_N=WENZEL COMPANY/DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=935, BPART_ROLE_I=8,
> SRC_SYS_I=1211005, LGCY_SRC_BPART_N=LUMISOURCE INC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=935, BPART_ROLE_I=8,
> SRC_SYS_I=1221985, LGCY_SRC_BPART_N=LUMISOURCE INC / FLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=935, BPART_ROLE_I=8,
> SRC_SYS_I=1329942, LGCY_SRC_BPART_N=LUMISOURCE INC/DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=2630, BPART_ROLE_I=8,
> SRC_SYS_I=1271375, LGCY_SRC_BPART_N=KATE ASPEN, INC./DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=2630, BPART_ROLE_I=8,
> SRC_SYS_I=1259546, LGCY_SRC_BPART_N=BABY ASPEN/DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=3253, BPART_ROLE_I=8,
> SRC_SYS_I=4481890, LGCY_SRC_BPART_N=SUTTON, A.D.& SONS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=3396, BPART_ROLE_I=8,
> SRC_SYS_I=1092596, LGCY_SRC_BPART_N=PROCTER & GAMBLE PREDISTR,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=3396, BPART_ROLE_I=8,
> SRC_SYS_I=3639384, LGCY_SRC_BPART_N=PROCTER & GAMBLE COSMETIC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=3396, BPART_ROLE_I=8,
> SRC_SYS_I=3872918, LGCY_SRC_BPART_N=PROCTER & GAMBLE DIST LLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=3682, BPART_ROLE_I=8,
> SRC_SYS_I=1140875, LGCY_SRC_BPART_N=EVOLUTION LIGHTING LLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=3682, BPART_ROLE_I=8,
> SRC_SYS_I=1151136, LGCY_SRC_BPART_N=EVOLUTION LIGHTING / FLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=3682, BPART_ROLE_I=8,
> SRC_SYS_I=3576544, LGCY_SRC_BPART_N=NICOLE CORP,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=4264, BPART_ROLE_I=8,
> SRC_SYS_I=1096204, LGCY_SRC_BPART_N=PINNACLE FOODS GRPINC/DFD,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=4264, BPART_ROLE_I=8,
> SRC_SYS_I=1220148, LGCY_SRC_BPART_N=BIRDS EYE FOOD**MERGE***,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=4484, BPART_ROLE_I=8,
> SRC_SYS_I=1366808, LGCY_SRC_BPART_N=BIC USA INC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=4484, BPART_ROLE_I=8,
> SRC_SYS_I=1263312, LGCY_SRC_BPART_N=SOLOGEAR, LGCY_SRC_BPART_TYPE_I=1901},
> {BPART_I=4686, BPART_ROLE_I=8, SRC_SYS_I=1261110, LGCY_SRC_BPART_N=HAWAIIAN
> HOST, INC., LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=4686, BPART_ROLE_I=8,
> SRC_SYS_I=1333077, LGCY_SRC_BPART_N=HAWAIIAN HOST CANDIES OF,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=4796, BPART_ROLE_I=8,
> SRC_SYS_I=1099654, LGCY_SRC_BPART_N=PATTON PICTURE COMPANY,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=4796, BPART_ROLE_I=8,
> SRC_SYS_I=1222719, LGCY_SRC_BPART_N=PATTON PICTURE CO / FLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=4856, BPART_ROLE_I=8,
> SRC_SYS_I=1103139, LGCY_SRC_BPART_N=CONTINENTAL FRAGRANCES,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=5528, BPART_ROLE_I=8,
> SRC_SYS_I=1198940, LGCY_SRC_BPART_N=HYBRID PROMOTIONS LLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=5528, BPART_ROLE_I=8,
> SRC_SYS_I=1166862, LGCY_SRC_BPART_N=AWAKE INC, LGCY_SRC_BPART_TYPE_I=1901},
> {BPART_I=5528, BPART_ROLE_I=8, SRC_SYS_I=2767794, LGCY_SRC_BPART_N=JEM
> SPORTSWEAR, LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=5940, BPART_ROLE_I=8,
> SRC_SYS_I=1110737, LGCY_SRC_BPART_N=CONAIR / CORDED,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=5940, BPART_ROLE_I=8,
> SRC_SYS_I=1767009, LGCY_SRC_BPART_N=CONAIR CORP,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=5940, BPART_ROLE_I=8,
> SRC_SYS_I=1767012, LGCY_SRC_BPART_N=CONAIR CORPORATION / FLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=6440, BPART_ROLE_I=8,
> SRC_SYS_I=1018020, LGCY_SRC_BPART_N=OUTERSTUFF LTD,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=6440, BPART_ROLE_I=8,
> SRC_SYS_I=1118043, LGCY_SRC_BPART_N=OUTERSTUFF/DIAMOND / FLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=6829, BPART_ROLE_I=8,
> SRC_SYS_I=4057800, LGCY_SRC_BPART_N=ABBOTT NUTRITION,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=6829, BPART_ROLE_I=8,
> SRC_SYS_I=1085176, LGCY_SRC_BPART_N=ZONEPERFECT,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=6829, BPART_ROLE_I=8,
> SRC_SYS_I=1095409, LGCY_SRC_BPART_N=EAS, INC, LGCY_SRC_BPART_TYPE_I=1901},
> {BPART_I=7400, BPART_ROLE_I=8, SRC_SYS_I=1188727, LGCY_SRC_BPART_N=MOUNT
> OLIVE PICKLE CO INC, LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=12030,
> BPART_ROLE_I=8, SRC_SYS_I=1058446, LGCY_SRC_BPART_N=XCELL INTERNATIONAL,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=16113, BPART_ROLE_I=8,
> SRC_SYS_I=1299373, LGCY_SRC_BPART_N=DIVA INTERNATIONAL INC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=24383, BPART_ROLE_I=8,
> SRC_SYS_I=1310896, LGCY_SRC_BPART_N=SOFT STYLE/DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=24383, BPART_ROLE_I=8,
> SRC_SYS_I=1340659, LGCY_SRC_BPART_N=SOFT STYLE INC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=26379, BPART_ROLE_I=8,
> SRC_SYS_I=1311772, LGCY_SRC_BPART_N=LOVE GROWN FOODS LLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=27038, BPART_ROLE_I=8,
> SRC_SYS_I=1343106, LGCY_SRC_BPART_N=SELLERS PUBLISHING/DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=27483, BPART_ROLE_I=8,
> SRC_SYS_I=1315574, LGCY_SRC_BPART_N=MIXIE BABY/DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=32020, BPART_ROLE_I=8,
> SRC_SYS_I=1323032, LGCY_SRC_BPART_N=NATURAL VITALITY,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=34029, BPART_ROLE_I=8,
> SRC_SYS_I=1333695, LGCY_SRC_BPART_N=ESSE ENTERPRISES LLC,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=34029, BPART_ROLE_I=8,
> SRC_SYS_I=1333718, LGCY_SRC_BPART_N=ESSE ENTERPRISES LLC/DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=34029, BPART_ROLE_I=8,
> SRC_SYS_I=1321995, LGCY_SRC_BPART_N=ESSE SALES INC/DVS,
> LGCY_SRC_BPART_TYPE_I=1901}, {BPART_I=37965, BPART_ROLE_I=8,
> SRC_SYS_I=1337167, LGCY_SRC_BPART_N=CURRAN CO INC,
> LGCY_SRC_BPART_TYPE_I=1901}]]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [210, 8, 1069574, WENZEL CO, THE / FLC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [210, 8, 4814483, WENZEL COMPANY, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [210, 8, 1333608, WENZEL COMPANY/DVS, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [935, 8, 1211005, LUMISOURCE INC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [935, 8, 1221985, LUMISOURCE INC / FLC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [935, 8, 1329942, LUMISOURCE INC/DVS, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [2630, 8, 1271375, KATE ASPEN, INC./DVS, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [2630, 8, 1259546, BABY ASPEN/DVS, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [3253, 8, 4481890, SUTTON, A.D.& SONS, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [3396, 8, 1092596, PROCTER & GAMBLE PREDISTR, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [3396, 8, 3639384, PROCTER & GAMBLE COSMETIC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [3396, 8, 3872918, PROCTER & GAMBLE DIST LLC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [3682, 8, 1140875, EVOLUTION LIGHTING LLC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [3682, 8, 1151136, EVOLUTION LIGHTING / FLC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [3682, 8, 3576544, NICOLE CORP, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [4264, 8, 1096204, PINNACLE FOODS GRPINC/DFD, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [4264, 8, 1220148, BIRDS EYE FOOD**MERGE***, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [4484, 8, 1366808, BIC USA INC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [4484, 8, 1263312, SOLOGEAR, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [4686, 8, 1261110, HAWAIIAN HOST, INC., 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [4686, 8, 1333077, HAWAIIAN HOST CANDIES OF, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [4796, 8, 1099654, PATTON PICTURE COMPANY, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [4796, 8, 1222719, PATTON PICTURE CO / FLC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [4856, 8, 1103139, CONTINENTAL FRAGRANCES, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [5528, 8, 1198940, HYBRID PROMOTIONS LLC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [5528, 8, 1166862, AWAKE INC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [5528, 8, 2767794, JEM SPORTSWEAR, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [5940, 8, 1110737, CONAIR / CORDED, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [5940, 8, 1767009, CONAIR CORP, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [5940, 8, 1767012, CONAIR CORPORATION / FLC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [6440, 8, 1018020, OUTERSTUFF LTD, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [6440, 8, 1118043, OUTERSTUFF/DIAMOND / FLC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [6829, 8, 4057800, ABBOTT NUTRITION, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [6829, 8, 1085176, ZONEPERFECT, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [6829, 8, 1095409, EAS, INC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [7400, 8, 1188727, MOUNT OLIVE PICKLE CO INC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [12030, 8, 1058446, XCELL INTERNATIONAL, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [16113, 8, 1299373, DIVA INTERNATIONAL INC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [24383, 8, 1310896, SOFT STYLE/DVS, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [24383, 8, 1340659, SOFT STYLE INC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [26379, 8, 1311772, LOVE GROWN FOODS LLC, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [27038, 8, 1343106, SELLERS PUBLISHING/DVS, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [27483, 8, 1315574, MIXIE BABY/DVS, 1901]
> Sep 25, 2015 12:54:49 PM com.ds.DS_Case3.JoinResultSetsImpl process
> INFO: SET::
> [32020, 8, 1323032, NATURAL VITALITY, 1901]
> Sending Following Out to ROUTES - [[37965, 8, 1337167, CURRAN CO INC,
> 1901],
> [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO
> INC,
> 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN
> CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167,
> CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901],
> [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO
> INC,
> 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN
> CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167,
> CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901],
> [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO
> INC,
> 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN
> CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167,
> CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901],
> [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO
> INC,
> 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN
> CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167,
> CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901],
> [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO
> INC,
> 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN
> CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167,
> CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901],
> [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO
> INC,
> 1901]] and class is class java.util.ArrayList
> [mel-1) thread #3 - timer://foo]  RECEIVED @ ROUTES -is ${body} INFO
> Exchange[ExchangePattern: InOnly, BodyType: java.util.ArrayList, Body:
> [[37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO
> INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167,
> CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901],
> [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO
> INC,
> 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN
> CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167,
> CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901],
> [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO
> INC,
> 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN
> CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167,
> CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901],
> [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO
> INC,
> 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN
> CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167,
> CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901],
> [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO
> INC,
> 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN
> CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167,
> CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8,
> 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901],
> [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN CO
> INC,
> 1901], [37965, 8, 1337167, CURRAN CO INC, 1901], [37965, 8, 1337167, CURRAN
> CO INC, 1901], [37965, 8, 1337167, CURRAN CO INC, 1901]]]
> *
>
>
>
> -----
> Reji Mathews
> Sr. Developer - Middleware Integration / SOA ( Open Source - Apache Camel
> & Jboss Fuse ESB | Mule ESB )
> LinkedIn - http://in.linkedin.com/pub/reji-mathews/31/9a2/40a
> Twitter - reji_mathews
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Strange-Behavior-Using-Collections-in-Camel-processor-tp5771943.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message