Package org.springframework.integration.gateway

Examples of org.springframework.integration.gateway.MessagingGatewaySupport


        super();
    }

    @Test
    public void testHasRequestMapperIntroduction() {
        MessagingGatewaySupport support = new TestMessagingGatewaySupport();
        assertInstanceOf(support.getClass().getSimpleName() + " " + HasRequestMapper.class.getSimpleName() + " ?",
                support, HasRequestMapper.class);
    }
View Full Code Here


    }

    @Test
    public void testRequestMapperTagging() {
        InboundMessageMapper<?> expected = Mockito.mock(InboundMessageMapper.class);
        MessagingGatewaySupport support = new TestMessagingGatewaySupport();
        support.setRequestMapper(expected);

        assertInstanceOf(support.getClass().getSimpleName() + " " + HasRequestMapper.class.getSimpleName() + " ?",
                support, HasRequestMapper.class);
        HasRequestMapper mapperAccess = (HasRequestMapper) support;
        Object actual = mapperAccess.__getRequestMapper();
        assertSame("Mismatched mapper instances", expected, actual);
    }
View Full Code Here

TOP

Related Classes of org.springframework.integration.gateway.MessagingGatewaySupport

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.