4 Replies Latest reply on Oct 11, 2007 4:15 AM by Haagen Hasle

    Exception when Aggregator times out

    Haagen Hasle Novice

      Hi!

      I'm using JBoss AS 4.2.0GA and JBoss ESB 4.2MR3. I am, as explained in other posts at this forum, using an Aggregator to merge calls to two different remote webservices.

      I'm working on proper error-handling, and wanted to find out what happens when one of the remote webservices doesn't respond. Unfortunately, what happens is that I get the following exception:

      15:52:34,109 ERROR [STDERR] java.lang.ClassCastException: java.util.ArrayList
      15:52:34,109 ERROR [STDERR] at org.jboss.soa.esb.actions.Aggregator$TimeoutChecker.run(Aggregator.java:288)


      I was expecting my own code to misbehave, but this was more surprising. :-) Is this a bug in the JBossESB code, or can it be something I have done wrong? (In my configuration or elsewhere..)

      Regards, Haagen