@ 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 ) ; }
Sends a message to a queue .