Package com.consol.citrus.endpoint.adapter.mapping

Examples of com.consol.citrus.endpoint.adapter.mapping.SimpleMappingStrategy


            public String extractMappingKey(Message request) {
                return "foo";
            }
        });

        SimpleMappingStrategy mappingStrategy = new SimpleMappingStrategy();
        mappingStrategy.setAdapterMappings(Collections.<String, EndpointAdapter>singletonMap("foo", new EmptyResponseEndpointAdapter()));
        endpointAdapter.setMappingStrategy(mappingStrategy);

        Message response = endpointAdapter.handleMessage(
                new DefaultMessage("<TestMessage>Hello World!</TestMessage>"));
View Full Code Here

TOP

Related Classes of com.consol.citrus.endpoint.adapter.mapping.SimpleMappingStrategy

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.