code: private String getDestinationName(Endpoint endpoint) {
          int start = endpoint.getName().lastIndexOf('/') + 1;
          return endpoint.getName().substring(start);
      }
docs: With ActiveMQ we were passing the full JNDI name, e.g., java:/topic/HawkularInventoryChanges, to
  Session.createTopic (or Session.createQueue). Using the full JNDI name/path does not work with Artemis.