[ 
https://issues.apache.org/activemq/browse/AMQ-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48317#action_48317
 ] 

Gary Tully commented on AMQ-2021:
---------------------------------

ps: thanks for the test case :-) I committed a variant of it that catches the 
various failure scenarios.

> durable subscriber gets stuck while using persistent delivery mode and client 
> acknowledgment with session.recover().
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2021
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2021
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.2.0
>         Environment: WinXP,
> java version "1.6.0_05"
> Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
> Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing) 
>            Reporter: Juraj Kuruc
>            Assignee: Gary Tully
>            Priority: Critical
>             Fix For: 5.3.0
>
>         Attachments: amq2021.zip
>
>
> Using two topic durable subscribers which consume every odd message and 
> recover their session if message number is even one of the durable subscriper 
> after couple hundred messages get stuck and  java.lang.NullPointerException 
> is shown on provider console.
> Reproducing steps:
> 1. start amq server using default configuration.
> 2. run TopicRedeliver.
> 3. run TopicProducer.
> Discovered during test of  https://issues.apache.org/activemq/browse/AMQ-1797 
> .
> See attached logs and java files. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to