On Fri, 26 Feb 2021 at 11:46, akabhishek1
<[email protected]> wrote:
>
> Hi Robbie,
>
> We are trying to find out root cause for this issue. Can you please provide
> details on below query which can help us to investigate for future issue
>
> 1) What is the idle way to check link status between JMS consumer and broker
> at runtime?
>   - We can get to know via TRACE level logs, but we can't turn on in PROD
> server.
>   - Is there anything can we do at runtime to check link status between
> consumer and broker?
>

This isnt simple since the direct link state is well inside the inner
portion of the client, which you dont have direct access to from the
JMS objects in the outer portion. In both the JMS and AMQP sense its
also complicated by parent child relationships, i.e parents
session/connections closing implicitly shuts down their child
resources, even if they aren't explicitly individually closed protocol
wise. Essentially, if the consumer itself thinks it is closed, it will
throw on various methods as you already know.

> 2) To check consumer status - I disabled endpoint and waited for 6-7m, but
> we didn't receive any error for 6-7minutes on "onException" method neither
> any System.Error, so we concluded that consumer was already detached from
> long time, that's why it was not receiving message from more than 12hrs.  Is
> my understanding correct? Or I should do something else to verify?
>


So again, there could be many reasons. I cant reason much from the
information available or say much that I didnt in prior mails.

> 3) We have added JmsConnectionListener and added logger on all operations
> except "onInboundMessage" operation, because "onInboundMessage" operation
> are getting called for receive message.
> I have not enabled logger on session class, because JmsConnectionListener
> will give us enough information.
> Do you think, I need to enabled any other logger which will give us detached
> link information or this should be enough?  (I think, this should be enough,
> just cross verifying for safer side)
>
> Regards,
> Abhishek Kumar
>
>
>
>
> --
> Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to