[
https://issues.apache.org/jira/browse/SYNAPSE-893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Buddhima Wijeweera updated SYNAPSE-893:
---------------------------------------
Attachment: Resequencer_Patch.patch
Currently resequencer has come up with more modifications compared to previous
version.
1. Included docs related to coding
2. Modified parameter names to give more clear idea
3. Added 2 new optional parameters to help in deciding starting sequence number.
requiredInitMessages - to decide how many messages Resequencer should wait
before deciding the starting sequence number. Default value is 4.
requiredInitMessagesDelay - time that resequencer should wait until
requiredInitMessages comes. Default value is 5.
4. Modification to Message Processor Serializer and Factory in order to
recognize parameters with name and expressions.
5. Improving test case for Message Processor Serialization to test the
improvement in (4).
I have already tested the functionality of this resequencer along with the
In-memory store and a persistent store.
Thanks for the comments about the previous versions and would like to know your
opinions on this improvement too.
> Resequencing Message Processor For Synapse
> ------------------------------------------
>
> Key: SYNAPSE-893
> URL: https://issues.apache.org/jira/browse/SYNAPSE-893
> Project: Synapse
> Issue Type: New Feature
> Reporter: Buddhima Wijeweera
> Labels: patch
> Attachments: Resequencer_Patch.patch
>
> Original Estimate: 672h
> Remaining Estimate: 672h
>
> Adding Resequencer Message Processor for Synapse.
> Configuration is as follows:
> <messageProcessor
>
> class="org.apache.synapse.message.processors.resequence.ResequencingProcessor"
>
> name="ResequencingProcessor" messageStore="MyQueue">
> <parameter name="interval">10000</parameter>
> <parameter name="seqNumXpath" xmlns:bank="http://bank.resequence.synapse.org"
> expression="//bank:display/bank:seqNo"/>
> <parameter name="nextEsbSequence">next_seq</parameter>
> <parameter name="requiredInitMessages">15</parameter>
> <parameter name="requiredInitMessagesDelay">2</parameter>
> </messageProcessor>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]