Results 1 to 2 of 2

Thread: spring-integration poller migration 1.0 to 2.0 performace issue

Hybrid View

  1. #1

    Default spring-integration poller migration 1.0 to 2.0 performace issue

    Hi,

    please find the configuration of my poller in both 1.0 and 2.0

    while migrating the SI 1.0 to 2.0 only major changes i have done is only poller configuration.
    while testing my application takes more time while processing the message as compared to 1.0 the time difference varies form
    1000 millisecond to 10000 millisecond?

    SI 1.0 configuration
    -------------------
    <integration:chain id="s1.chain" input-channel="s1.channel" output-channel="s1.inChannel">
    <integration:header-enricher id="s1.headerEnricher"
    error-channel="s1.exception.channel">
    <integration:header name="Subscriber" value="${s1.dn}" />
    <integration:header name="Fault_Subscriber"
    value="${s1.fault.dn}" />
    <integration:header name="SUB_Destination" value="${s1.destination}" />
    </integration:header-enricher>

    <integration: poller id="s1.chainPoller"
    receive-timeout="${s1.poller.receive-timeout}" send-timeout="${s1.poller.send-timeout}">
    <integration:interval-trigger interval="${s1.poller.interval-trigger}"
    time-unit="MILLISECONDS" />
    </integration: poller>
    </integration:chain>

    SI 2.0 --configuration
    ----------------------
    <integration:chain id="s1.chain" input-channel="s1.channel" output-channel="s1.inChannel">
    <integration:header-enricher
    <integration:error-channel ref="s1.exception.channel"/>
    <integration:header name="Subscriber" value="${s1.dn}" />
    <integration:header name="Fault_Subscriber" value="${s1.fault.dn}" />
    <integration:header name="SUB_Destination" value="${s1.destination}" />
    </integration:header-enricher>

    <integration: poller receive-timeout="${s1.poller.receive-timeout}"
    fixed-rate="${s1.poller.interval-trigger}"
    time-unit="MILLISECONDS" />
    </integration:chain>

    send-timeout="${s1.poller.send-timeout}" this attribute i am not able to set in SI2.0 poller,is that makes such difference?

    can some please help me out what could be the reason for this drastic performance issue?

    Thanks in advance
    srinibas
    Last edited by srinibas.j2ee; Oct 16th, 2011 at 12:35 PM.

  2. #2

    Default

    any one have any suggestions?

Posting Permissions

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