Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Spring Integration - Chain Processing Issue

  1. #11
    Join Date
    Dec 2011
    Posts
    2

    Default More Info

    Hi,

    Here is how we managed to somehow replicate this issue. You need a WebSphere version 7 fixpack 17 and a cluster with 2 nodes all of this is on AIX with IBM JVM.

    Your greatest chances of success is to deploy the same application twice with different context, start them both then restart WAS and make sure it starts both of them at startup. It may take a few attempts but it will happen.

    We managed to connect a remote debuger to the WAS instance and we had a look at MessageHandlerChain.handlers and saw differences in the way the XML looks and how the handlers looked.

    Example
    XML
    <chain>
    <service-activator 1>
    <service-activator 2>
    <service-activator 3>
    <service-activator 4>
    </chain>

    the List<MessageHandler> however had
    service-activator 1,
    service-activator 2,
    service-activator 1,
    service-activator 4 completely missing sa3 but having the expected number of handlers.

    What was more interesting is that the ServiceActivatingHandler, MethodInvokingMessageProcessor, and MessagingMethodInvokerHelper were different but the targetObject was the same between sa1 & sa3 causing our flow to go nuts.

    Hope this helps.

  2. #12
    Join Date
    Mar 2011
    Posts
    1

    Default

    So, any idea how to fix it?

  3. #13
    Join Date
    Dec 2011
    Posts
    2

    Default Jira

    Created JIRA bug entry for it, also attached code to replicate

    https://jira.springsource.org/browse/INT-2321

  4. #14
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    @FabianM

    I replied in JIRA, but you or your friend has sent me the same code over the weekend via email and I've replied to that as well. As of right now the attached test case is not reproducing that's been described here. Please provide more details.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •