Hi,
I've noticed that setting the poller receive timeout as follows:
does not result in the following being invoked with the right value.Code:<poller id="poller2" task-executor="pool2" receive-timeout="60000"> <interval-trigger interval="250" fixed-rate="false" /> </poller>
Is the above custom namespace xml supposed to correspond to the java code below? So should the setter receive a timeout value of 60000? It is instead receiving 1000. If they don't correspond how can that value be configured?Code:public class PollingConsumer extends AbstractPollingEndpoint { public void setReceiveTimeout(long receiveTimeout) { this.receiveTimeout = receiveTimeout; } }
Also even though we have two pollers both setting receive timeout the above method is only invoked for the second poller. Why would that be the case?
Much appreciate your help.


Reply With Quote
