Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-109

Divert routing name is no longer optional

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • None
    • None

    Description

      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:

      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)
      

      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.

      Attachments

        Activity

          People

            jbertram Justin Bertram
            jmesnil Jeff Mesnil
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: