[
https://issues.apache.org/jira/browse/SYNAPSE-1049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161660#comment-16161660
]
Hudson commented on SYNAPSE-1049:
---------------------------------
SUCCESS: Integrated in Jenkins build Synapse - Trunk #5379 (See
[https://builds.apache.org/job/Synapse%20-%20Trunk/5379/])
SYNAPSE-1049, SYNAPSE-1050 - Improvement on message processor to drop the
message after max delivery attempts (vanji: rev 1808048)
* (edit)
java/modules/core/src/main/java/org/apache/synapse/message/processors/forward/ForwardingJob.java
* (edit)
java/modules/core/src/main/java/org/apache/synapse/message/processors/forward/ForwardingProcessorConstants.java
* (edit) java/modules/documentation/src/site/xdoc/userguide/samples.xml
* (add) java/modules/documentation/src/site/xdoc/userguide/samples/sample705.xml
* (add) java/repository/conf/sample/synapse_sample_705.xml
> Drop the message from store after Max deliver attempt
> -----------------------------------------------------
>
> Key: SYNAPSE-1049
> URL: https://issues.apache.org/jira/browse/SYNAPSE-1049
> Project: Synapse
> Issue Type: Improvement
> Reporter: Vanjikumaran Sivajothy
> Assignee: Vanjikumaran Sivajothy
> Attachments: SYNAPSE-1049.diff
>
>
> In message forwarding processor with message store use-case, the message
> processor will get deactivated after max delivery attempts and rest of the
> message will pilled up in the queue due to BE failure or invalid message
> format.
> If message forwarding processor has the flexibility to drop the message when
> user explicitly mention to drop the message after max delivery attempt, It is
> possible to prevent the Queue pill up in Message Store.
> To solve this, Introduce new parameter in ForwardingJob and drop the message
> based on the condition where it should have max delivery + drop enabled.
> *Example*
> {code}
> <messageProcessor
> class="org.apache.synapse.message.processors.forward.ScheduledMessageForwardingProcessor"
> name="ScheduledProcessor" messageStore="MyStore">
> <parameter name="interval">10000</parameter>
> <parameter name="max.deliver.attempts">2</parameter>
> <parameter name="max.deliver.drop">true</parameter>
> </messageProcessor>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]