activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMQ-2653) Messages lost when ServerSessionPool.getServerSession() throws a JMSException
Date Sat, 02 Nov 2013 21:07:19 GMT

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

Claus Ibsen updated AMQ-2653:
-----------------------------

    Fix Version/s:     (was: 5.x)
                   5.10.0

> Messages lost when ServerSessionPool.getServerSession() throws a JMSException
> -----------------------------------------------------------------------------
>
>                 Key: AMQ-2653
>                 URL: https://issues.apache.org/jira/browse/AMQ-2653
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.3.0
>            Reporter: Eugene Rodos
>             Fix For: 5.10.0
>
>         Attachments: GetServerSessionExceptionTest.java
>
>
> In ActiveMQConnectionConsumer.dispatch() method, if the call to sessionPool.getServerSession()
results in an Exception, the message being dispatched is never redelivered and is lost forever.
 In fact, it gets stuck in the dispatch queue and can result in no new messages at all being
delivered to the consumer if the prefetchSize has been reached!
> This JMSException is part of JMS's public API and it seems to me that if it is thrown,
that should not result in a lost message.
> I'm attaching a junit test that reproduces the problem.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message