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