ASF GitHub Bot logged work on AMQNET-611:

                Author: ASF GitHub Bot
            Created on: 11/Sep/19 21:19
            Start Date: 11/Sep/19 21:19
    Worklog Time Spent: 10m 
      Work Description: Havret commented on pull request #30: AMQNET-611: 
Apache.NMS.IllegalStateException is throw on transport thread
URL: https://github.com/apache/activemq-nms-amqp/pull/30
   It closes https://issues.apache.org/jira/projects/AMQNET/issues/AMQNET-611
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:

Issue Time Tracking

            Worklog Id:     (was: 311018)
    Remaining Estimate: 0h
            Time Spent: 10m

> Apache.NMS.IllegalStateException is throw on transport thread
> -------------------------------------------------------------
>                 Key: AMQNET-611
>                 URL: https://issues.apache.org/jira/browse/AMQNET-611
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: AMQP, NMS
>            Reporter: Chris Morgan
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
> Found this while looking at changes for AMQNET-610. While trying to shutdown 
> a connection the NMS amqp provider throws an exception on the transport 
> thread.
>  Havret has proposed a solution in PR 29, see 
> https://github.com/apache/activemq-nms-amqp/pull/29#issuecomment-530123108
> Here is the exception:
> {noformat}
> Exception occurred: Apache.NMS.IllegalStateException: The Session is closed
> at Apache.NMS.AMQP.NmsSession.CheckClosed()
> at Apache.NMS.AMQP.NmsSession.get_AcknowledgementMode()
> at 
> Apache.NMS.AMQP.NmsMessageConsumer.SetAcknowledgeCallback(InboundMessageDispatch
>  envelope)
> at Apache.NMS.AMQP.NmsMessageConsumer.OnInboundMessage(InboundMessageDispatch 
> envelope)
> at Apache.NMS.AMQP.NmsSession.OnInboundMessage(InboundMessageDispatch 
> envelope)
> at Apache.NMS.AMQP.NmsConnection.OnInboundMessage(InboundMessageDispatch 
> envelope)
> at 
> Apache.NMS.AMQP.Provider.Failover.FailoverProvider.OnInboundMessage(InboundMessageDispatch
>  envelope)
> at Apache.NMS.AMQP.Provider.Amqp.AmqpConsumer.OnMessage(IReceiverLink 
> receiver, Message amqpMessage)
> at Amqp.ReceiverLink.OnTransfer(Delivery delivery, Transfer transfer, 
> ByteBuffer buffer)
> at Amqp.Session.OnTransfer(Transfer transfer, ByteBuffer buffer)
> at Amqp.Connection.OnFrame(ByteBuffer buffer)
> {noformat}

This message was sent by Atlassian Jira

Reply via email to