Package org.apache.qpid.test.framework

Examples of org.apache.qpid.test.framework.MessagingTestConfigProperties


     * Sends a message on the test circuit. The exact nature of the message sent is controlled by the test parameters.
     */
    protected void send()
    {
        // Cast the test properties into a typed interface for convenience.
        MessagingTestConfigProperties props = new MessagingTestConfigProperties(testProps);

        boolean transactional = props.getPublisherTransacted();
        boolean rollback = props.getRollbackPublisher();

        // Send a message through the publisher and log any exceptions raised.
        try
        {
            CircuitEnd end = getLocalPublisherCircuitEnd();
View Full Code Here


     * @throws JMSException Any JMSException occurring during creation of the message is allowed to fall through.
     */
    private Message createTestMessage(CircuitEnd client) throws JMSException
    {
        // Cast the test properties into a typed interface for convenience.
        MessagingTestConfigProperties props = new MessagingTestConfigProperties(testProps);

        return TestUtils.createTestMessageOfSize(client.getSession(), props.getMessageSize());
    }
View Full Code Here

TOP

Related Classes of org.apache.qpid.test.framework.MessagingTestConfigProperties

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.