You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/01/18 03:48:00 UTC

[jira] [Work logged] (ARTEMIS-2230) Exception closing advisory consumers when supportAdvisory=false

     [ https://issues.apache.org/jira/browse/ARTEMIS-2230?focusedWorklogId=186714&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-186714 ]

ASF GitHub Bot logged work on ARTEMIS-2230:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Jan/19 03:47
            Start Date: 18/Jan/19 03:47
    Worklog Time Spent: 10m 
      Work Description: gaohoward commented on pull request #2506: ARTEMIS-2230 Exception closing advisory consumers when supportAdvisory=false
URL: https://github.com/apache/activemq-artemis/pull/2506
 
 
   
   When broker's advisory is disabled (supportAdvisory=false) any
   advisory consumer won't get created at broker and the advisory
   consumer ID won't be stored.
   
   Legacy openwire clients can have a reference of advisory consumer
   regardless broker's settings and therefore when it closes the
   advisory consumer the broker has no reference to it.
   Therefore broker throws an exception like:
   
   javax.jms.IllegalStateException: Cannot
   remove a consumer that had not been registered
   
   If the broker stores the consumer info (even it doesn't create
   it) the exception can be avoided.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

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

> Exception closing advisory consumers when supportAdvisory=false
> ---------------------------------------------------------------
>
>                 Key: ARTEMIS-2230
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2230
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: OpenWire
>    Affects Versions: 2.6.4
>            Reporter: Howard Gao
>            Assignee: Howard Gao
>            Priority: Major
>             Fix For: 2.6.5
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When broker's advisory is disabled (supportAdvisory=false) any advisory consumer won't get created at broker and the advisory consumer ID won't be stored.
> Legacy openwire clients can have a reference of advisory consumer regardless broker's settings and therefore when it closes the advisory consumer the broker has no reference to it. Therefore broker throws an exception like:
> javax.jms.IllegalStateException: Cannot remove a consumer that had not been registered
> If the broker stores the consumer info (even it doesn't create it) the exception can be avoided.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)