activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQ-2021) durable subscriber gets stuck while using persistent delivery mode and client acknowledgment with session.recover().
Date Tue, 23 Dec 2008 17:05:05 GMT

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

Gary Tully resolved AMQ-2021.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 5.3.0

resolved in r729038.
Problem is in dispatch to the DLQ for topics. A property is set in the message before dispatch
to the DLQ but this can invalidate the message for delivery to other topic subscribers. The
failure can be a little odd as it can result in empty properties at the consumer or marshal
errors.
The solution is to copy the message before making modifications.

> 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.


Mime
View raw message