From dev-return-32914-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Wed Sep 5 12:30:16 2012 Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2C5A3D23F for ; Wed, 5 Sep 2012 12:30:16 +0000 (UTC) Received: (qmail 54120 invoked by uid 500); 5 Sep 2012 12:30:15 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 52483 invoked by uid 500); 5 Sep 2012 12:30:10 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 52238 invoked by uid 99); 5 Sep 2012 12:30:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2012 12:30:09 +0000 Date: Wed, 5 Sep 2012 23:30:09 +1100 (NCT) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Message-ID: <994080390.38469.1346848209349.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (AMQ-4020) MessageStore IOExceptionHandler needs to deal in StoreExceptions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Gary Tully created AMQ-4020: ------------------------------- Summary: MessageStore IOExceptionHandler needs to deal in StoreExceptions Key: AMQ-4020 URL: https://issues.apache.org/jira/browse/AMQ-4020 Project: ActiveMQ Issue Type: Bug Affects Versions: 5.6.0 Reporter: Gary Tully Currently the IOExceptionHandler used by the store deals in IOExceptions which clash with the Transport. On an IOException, the transport closes the connection, so it does not allow store exceptions to propagate back to the client. This is one of the problems in the intermittent failure of org.apache.activemq.broker.ft.DbRestartJDBCQueueMasterSlaveTest.testSendReceive We need to separate IOExceptions form MessageStoreExceptions. It may be that a persistence adapter or message store can only throw StoreExcptions that wrap any underlying IOException and the StoreIOExceptionHandler only throws StoreExceptions. In the case where the StoreIOExceptionHandler does not handle the exception by pause/resume/terminate - the underlying StoreException should be propagated to the client. -- 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