You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Christopher L. Shannon (Jira)" <ji...@apache.org> on 2019/10/14 18:09:00 UTC

[jira] [Resolved] (ARTEMIS-2519) ActiveMQUnexpectedRoutingTypeForAddress uses wrong enum type

     [ https://issues.apache.org/jira/browse/ARTEMIS-2519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher L. Shannon resolved ARTEMIS-2519.
---------------------------------------------
    Resolution: Fixed

> ActiveMQUnexpectedRoutingTypeForAddress uses wrong enum type
> ------------------------------------------------------------
>
>                 Key: ARTEMIS-2519
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2519
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.10.1
>            Reporter: Christopher L. Shannon
>            Assignee: Christopher L. Shannon
>            Priority: Minor
>             Fix For: 2.11.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> I was browsing the ActiveMQException types to see what was available to be used for some custom processing I'm doing in a plugin and I noticed that the exception type ActiveMQUnexpectedRoutingTypeForAddress uses the wrong enum type.  It currently is setup to use ActiveMQExceptionType.MAX_CONSUMER_LIMIT_EXCEEDED but this should be ActiveMQExceptionType.UNEXPECTED_ROUTING_TYPE_FOR_ADDRESS.



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