nevado-jms/src/main/java/org/skyscreamer/nevado/jms/connector/AbstractSQSConnector.java
/**
     * Serialize a NevadoMessage object into the body of an SQS message into a bae64 string.
     *
     * @param message A NevadoMessage object
     * @return A string-serialized encoding of the message
     * @throws JMSException Unable to serialize the message
     */
Serialize a NevadoMessage object into the body of an SQS message into a bae64 string.
@param message A NevadoMessage object
@return A string-serialized encoding of the message
@throws JMSException Unable to serialize the message
Serialize a NevadoMessage object into the body of an SQS message into a bae64 string . @param message A NevadoMessage object @return A string - serialized encoding of the message @throws JMSException Unable to serialize the message
protected String serializeMessage(NevadoMessage message) throws JMSException {
        String serializedMessage;
        try {
            serializedMessage = SerializeUtil.serializeToString(message);
        } catch (IOException e) {
            String exMessage = "Unable to serialize message of type " + message.getClass().getName() + ": " + e.getMessage();
            _log.error(exMessage, e);
            throw new JMSException(exMessage);
        }
        return serializedMessage;
    }
protected String serializeMessage ( NevadoMessage message ) throws JMSException { String serializedMessage ; try { serializedMessage = SerializeUtil . serializeToString ( message ) ; } catch ( IOException e ) { String exMessage = "Unable to serialize message of type " + message . getClass ( ) . getName ( ) + ": " + e . getMessage ( ) ; _log . error ( exMessage , e ) ; throw new JMSException ( exMessage ) ; } return serializedMessage ; }
Serialize a NevadoMessage object into the body of an SQS message into a bae64 string.
Serialize a NevadoMessage object into the body of an SQS message into a bae64 string .