[ 
https://issues.apache.org/jira/browse/SYNAPSE-893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470961#comment-13470961
 ] 

Buddhima Wijeweera commented on SYNAPSE-893:
--------------------------------------------

Hi Charith,
Thanks for inspecting Resequencing Processor code.
I made a change to exception handing part of findFirstSeqNum() in Resequencing 
Processor. Now it expects NumberFormatException if the number pointing by Xpath 
is not an integer, and Exception that could happen due to non-existence of 
message store or any other reason. All Exceptions are handled by 
handleException() method in the class, so Exceptions are logged through it.
                
> 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, Resequencer.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]

Reply via email to