Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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.