[
https://issues.apache.org/jira/browse/ARTEMIS-2327?focusedWorklogId=235753&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-235753
]
ASF GitHub Bot logged work on ARTEMIS-2327:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 01/May/19 11:19
Start Date: 01/May/19 11:19
Worklog Time Spent: 10m
Work Description: michaelandrepearce commented on issue #2655:
ARTEMIS-2327 ExceptionListener invoked when connection level exception
URL: https://github.com/apache/activemq-artemis/pull/2655#issuecomment-488258690
So as i said, the code is doing this for others, and in this case because
spring wasnt notified on the exception listener it doesnt let go of what became
a stale connection when this specific issue occurred.
As per here, it is meant to be notified of a critical connection exception
async, and in this side case it wasn't
https://docs.oracle.com/javaee/6/api/javax/jms/ExceptionListener.html
As said all other ActiveMQConnectionX exceptions seem to be making it to it,
apart from this one flow found after debugging why spring never got informed.
Even a timeout caused in other places (such as the pinger) invoke the exception
listeners, so either the whole of artemis client is doing it fundamentally
wrong in all places...i find this very hard to believe..., or simply this is
just a missed exception not making it to the exception listener.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 235753)
Time Spent: 3.5h (was: 3h 20m)
> JMS Connection ExceptionListener not invoked when
> ActiveMQConnectionTimedOutException occurs on sendPacket
> ----------------------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-2327
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2327
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.7.0
> Reporter: Michael Andre Pearce
> Priority: Major
> Time Spent: 3.5h
> Remaining Estimate: 0h
>
> When a connection level exception occurs it seems in one case, whilst the
> exception is returned to calling code, exception listeners set at the
> connection are not being invoked.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)