Announcement Announcement Module
Collapse
No announcement yet.
spring-integration poller migration 1.0 to 2.0 performace issue Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 12:35 PM.

  • #2
    any one have any suggestions?

    Comment

    Working...
    X