[ 
https://issues.apache.org/jira/browse/AMQNET-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16950395#comment-16950395
 ] 

Krzysztof Porebski edited comment on AMQNET-622 at 10/13/19 5:34 PM:
---------------------------------------------------------------------

I think we could replace part of INmsConnectionListener  in favor to 
ConnectionInterruptedListeners  and ConnectionResumedListeners  but we would 
need to make adjustments in nms api. Currently these events are parameterless. 
INmsConnectionListener  based listeners provide additional information about 
broker uri to which connection was resumed or with which connection was lost. 
[~amp001] [~cmorgan] What do you think? 


was (Author: havret):
I think we could replace part of INmsConnectionListener  in favor to 
ConnectionInterruptedListeners  and ConnectionResumedListeners  but would need 
to make adjustments in nms api. Currently these events are parameterless. 
INmsConnectionListener  based listeners provides additional information about 
broker uri to which connection was resumed or with which connection was lost. 

> IConnection event listeners are not invoke on reconnect
> -------------------------------------------------------
>
>                 Key: AMQNET-622
>                 URL: https://issues.apache.org/jira/browse/AMQNET-622
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: AMQP
>            Reporter: Chris Morgan
>            Priority: Major
>
> I found the Apache.NMS.AMQP.NMSConnection allows applications to add 
> ConnectionInterruptedListeners and ConnectionResumedListeners however these 
> event callbacks are never invoked even during failover/reconnect.
> The NMS AMQP provider does have a INmsConnectionListener to handle the 
> interrupted and resumed connection events so its unclear whether 
> ConnectionInterruptedListeners and ConnectionResumedListeners are not 
> supported in favour for the INmsConnectionListener or if the 
> ConnectionInterruptedListeners and ConnectionResumedListeners need to be 
> invoked in addition to the INmsConnectionListener events.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to