I configurated spring integration in my web application as follows:
I find the process "javaw" occupy cpu 100%. But when I commented out the poller subelement in service activator, cpu went well. Could you tell me what is the matter and what should I do to avoid this problem?Code:...... <pool-executor id="dispatcherPoolExecutor" core-size="5" max-size="10" queue-capacity="10" keep-alive-seconds="120" rejection-policy="DISCARD" /> <service-activator input-channel="orderChannel" ref="orderTarget" output-channel="cafeChannel"> <poller period="1000" task-executor="dispatcherPoolExecutor" /> </service-activator> ......


Reply With Quote