Hi,
Is there any webservice retry component in spring integration?
Thanks,
Ben
Hi,
Is there any webservice retry component in spring integration?
Thanks,
Ben
Are you familiar with Spring Batch's RetyTemplate?
We use it to apply retry logic to all sorts of different cases.
Is there any option in SI for JMS message retry with delayed interval?
Are you referring to retry on the consumer side or the producer?
Mark Fisher
Spring Integration Lead
SpringSource, a division of VMware
http://www.springsource.com
http://www.springsource.org/spring-integration
http://blog.springsource.com/main/author/markf
Hi Mark,
Here is the scenario
I am pulling messages from JMS inbound gateway (destination name ="incomingMessage") using poller with specified interval, and making webservice call if there is any failure, I guess it forwards to errorChannel ( which is default). and pull the message from the errorChannel drop in to same "inboundQueue" with a specified delay.
<service-activator method="logMessage"
ref="jmsInboundServiceActivator" input-channel="jmsIncomingChannel"/>
<channel id="jmsIncomingChannel" />
<jms:inbound-channel-adapter channel="jmsIncomingChannel"
destination-name="incomingMessage">
<poller id="incomingMessagePoller" max-messages-per-poll="-1">
<cron-trigger expression="5 * * * * ?" />
</poller>
</jms:inbound-channel-adapter>
<delayer input-channel="errorChannel" default-delay="3000" output-channel="jmsOutboundChannel"/>
<channel id="jmsOutboundChannel" />
<jms:outbound-channel-adapter channel="jmsOutboundChannel"
destination-name="incomingMessage">
</jms:outbound-channel-adapter>
Maybe you can retry your service via a Control Bus which allows you to execute your service again.