synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Buddhima Wijeweera (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SYNAPSE-893) Resequencing Message Processor For Synapse
Date Thu, 20 Sep 2012 11:40:07 GMT

     [ 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message