code: @Override
      public void send(Queue queue, Message message) throws JMSException {
          if (!(queue instanceof SQSQueueDestination)) {
              throw new InvalidDestinationException(
                      "Incompatible implementation of Queue. Please use SQSQueueDestination implementation.");
          }
          checkIfDestinationAlreadySet();
          sendInternal((SQSQueueDestination)queue, message);
      }
docs: Sends a message to a queue.
  
  @param queue
  the queue destination to send this message to
  @param message
  the message to send
  @throws InvalidDestinationException
  If a client uses this method with a destination other than
  SQS queue destination.
  @throws MessageFormatException
  If an invalid message is specified.
  @throws UnsupportedOperationException
  If a client uses this method with a MessageProducer that
  specified a destination at creation time.
  @throws JMSException
  If session is closed or internal error.