You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2019/03/22 03:12:00 UTC

[jira] [Closed] (JAMES-2666) Integration tests for EventDeadLetter

     [ https://issues.apache.org/jira/browse/JAMES-2666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tellier Benoit closed JAMES-2666.
---------------------------------

> Integration tests for EventDeadLetter
> -------------------------------------
>
>                 Key: JAMES-2666
>                 URL: https://issues.apache.org/jira/browse/JAMES-2666
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: Trần Tiến Đức
>            Priority: Major
>             Fix For: 3.4.0
>
>
> In webAdmin integration test, write a DeadLetterTest
> You will:
> - Create a stateful listener that fails 'n' times on a given eventId, then succeeds and allow retrieving the list of successfully processed eventIds.
> - Load this listener into a James server
> {code:java}
> When an event is initially processed
> Then the processing of this event is failing
> And I can retrieve this event in the EventDeadLetter using webAdmin{code}
>  
> {code:java}
> Given an event is initially processed
> And the processing of this event is failing
> When I do reprocess this event stored in EventDeadLetter
> Then The new processing succeed (n = num-retry){code}
>  
> {code:java}
> Given an event is initially processed
> And the processing of this event is failing
> When I do reprocess this event stored in EventDeadLetter
> Then The still fails (n > 2 * num-retry)
> And the event is still in deadLetter{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org