code: private String getRequiredDefaultDestinationName() throws IllegalStateException {
          String name = getDefaultDestinationName();
          if (name == null) {
              throw new IllegalStateException(
                      "No 'defaultDestination' or 'defaultDestinationName' specified. Check configuration of JmsTemplate.");
          }
          return name;
      }
docs: Method replicates the simple logic from JmsTemplate#getRequiredDefaultDestinationName which is private and therefore cannot be accessed from this class
  @return The default destination name
  @throws IllegalStateException Example if no destination or destination name is specified