[
https://issues.apache.org/jira/browse/QPIDJMS-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16487394#comment-16487394
]
Daniel Maier commented on QPIDJMS-376:
--------------------------------------
Sorry [~gemmellr] for the late feedback.
I tested the fix together with DISPATCH-962. It works now fine for me for
initial connect, i.e. if link gets closed from qdrouter while receiver link
establishment I get an exception in my
exception listener.
However I am not sure if the failover behavior is correct. I run into the
following corner case:
- configure JMS client with infinite failover
- set consumer message listener
- start connection to qdrouter
- connection succeeds and receiver link gets established
- stop qdrouter and delete address to which the JMS client is connected to
- start qdrouter again
- JMS client re-connects to qdrouter and also tries to re-established receiver
link
- As address does not exist qdrouter closes link
- JMS client does not try to re-established receiver link any longer and also
my exception listener does not get called
Is this behaviour intended? As failover stops and no exception listener gets
called I have no chance to react to this siutation in my code and my JMS client
does never recover from this state.
> notify the ExceptionListener when a consumer with a MessageListener remotely
> closes
> -----------------------------------------------------------------------------------
>
> Key: QPIDJMS-376
> URL: https://issues.apache.org/jira/browse/QPIDJMS-376
> Project: Qpid JMS
> Issue Type: Bug
> Components: qpid-jms-client
> Affects Versions: 0.31.0
> Environment: AMQP Server: Enmasse 0.17.1
> Enmasse Address Type: anycast
> Reporter: Daniel Maier
> Priority: Major
> Fix For: 0.32.0
>
> Attachments: clientlogs.txt
>
>
> When I create a consumer to an address that just does not exist, I expected
> to get some exception or that the client retries the operation. But there
> seems not even to be a log message which indicates a failure.
> Is this intended behavior or is this a bug? A more general description is: If
> AMQP server closes the receiver link, qpid jms client does not notify the
> user anyhow or does not re-establish the link.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]