You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (JIRA)" <ji...@apache.org> on 2015/06/04 02:18:38 UTC

[jira] [Updated] (ARTEMIS-109) Divert routing name is no longer optional

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

clebert suconic updated ARTEMIS-109:
------------------------------------
    Fix Version/s: 1.0.1
         Assignee: Justin Bertram

> Divert routing name is no longer optional
> -----------------------------------------
>
>                 Key: ARTEMIS-109
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-109
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Jeff Mesnil
>            Assignee: Justin Bertram
>             Fix For: 1.0.1
>
>
> It used to be possible to create a divert configuration without a null routing name. The server was then generating a unique routing name instead.
> But now, it throws a NPE:
> {noformat}
> java.lang.NullPointerException
> 	at org.apache.activemq.api.core.SimpleString.<init>(SimpleString.java:75)
> 	at org.apache.activemq.core.server.impl.ActiveMQServerImpl.deployDivert(ActiveMQServerImpl.java:1402)
> 	at org.apache.activemq.core.management.impl.ActiveMQServerControlImpl.createDivert(ActiveMQServerControlImpl.java:1805)
> {noformat}
> I have no idea what I should use as the routing name for my divert... (use its name, or the address or something different...)
> Either the API (and documentation) must be updated to reflect that the routing name is mandatory or the code to generate an unique one must be put back.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)