public static void pushEncryptedMessage(final TextSecureEnvelope envelope){
  while (true) {
    try {
      queue.put(envelope);
      return;
    }
 catch (    final InterruptedException e) {
    }
  }
}

public static void pushEncryptedMessage ( final TextSecureEnvelope envelope ) { while ( true ) { try { queue . put ( envelope ) ; return ; } catch ( final InterruptedException e ) { } } }
adds an encrypted message to the queue . it will be automatically decrypted .
