Package org.apache.camel.converter.jaxb

Examples of org.apache.camel.converter.jaxb.MessageDefinition


    protected CamelContext context = new DefaultCamelContext();
    protected TypeConverter converter = context.getTypeConverter();

    @Test
    public void testConverter() throws Exception {
        MessageDefinition message = converter.convertTo(MessageDefinition.class, "<message><hello>bar</hello></message>");
        assertNotNull("Message should not be null!", message);
    }
View Full Code Here


public class JAXBConverterMessageTypeTest extends TestCase {
    protected CamelContext context = new DefaultCamelContext();
    protected TypeConverter converter = context.getTypeConverter();

    public void testConverter() throws Exception {
        MessageDefinition message = converter.convertTo(MessageDefinition.class, "<message><hello>bar</hello></message>");
        assertNotNull("Message should not be null!", message);
    }
View Full Code Here

TOP

Related Classes of org.apache.camel.converter.jaxb.MessageDefinition

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.