Hi folks, I am implementing a dead letter channel using message store and processor as described in attached files, and I would like to stop retry after max.delivery.attempts and send a timeout fault But the value specified in max.delivery.attempts is not considered and message processor keeps retrying indefinitely. Is it a wrong configuration of my receipt or a bug in your side?
Thanks in advance for your help! Regards, -- Mohammad
<proxy xmlns="http://ws.apache.org/ns/synapse" name="proxy" transports="http,local,https" statistics="disable" trace="disable" startOnLoad="true"> <target endpoint="EP"> <inSequence> <log level="full"/> </inSequence> <outSequence> <log level="full"/> <send/> </outSequence> <faultSequence> <log level="full"> <property name="MSG" value="Retry sending message ..."/> </log> <property name="FORCE_SC_ACCEPTED" value="true" scope="axis2" type="STRING"/> <property name="target.endpoint" value="EP"/> <store messageStore="MS"/> </faultSequence> </target> <description></description> </proxy>
<messageProcessor name="MP" class="org.apache.synapse.message.processors.forward.ScheduledMessageForwardingProcessor" messageStore="MS" xmlns="http://ws.apache.org/ns/synapse"> <parameter name="interval">5000</parameter> <parameter name="max.delivery.attempts">2</parameter> </messageProcessor>
<?xml version="1.0" encoding="UTF-8"?> <messageStore xmlns="http://ws.apache.org/ns/synapse" name="MS"/>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
