Package com.softwaremill.common.sqs.util

Examples of com.softwaremill.common.sqs.util.EmailDescription


        // Given
        String to = "sqs-test@example.org";
        String subject = "TEST: testEmailDelivery()";
        String message = "Simple message from SQS email test";

        SQSTaskTimerBean.scheduleTask(new SendEmailTask(new EmailDescription(to, message, subject)),
                new SQS("http://localhost:" + ELASTIMQ_PORT, "1234", "1234").getQueueByName(TEST_QUEUE));
        sendEmail();

        // Then
        assertThat(emailServer.getReceivedEmailSize()).isEqualTo(1);
View Full Code Here

TOP

Related Classes of com.softwaremill.common.sqs.util.EmailDescription

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.