Package org.apache.camel.converter.jaxb

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


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

    public void testConverter() throws Exception {
        MessageType message = converter.convertTo(MessageType.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.MessageType

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.