@@ -0,0 +1,1435 @@
+package com.boundary.sdk;%0A%0Aimport java.io.File;%0A%0Aimport org.apache.camel.Exchange;%0Aimport org.apache.camel.Produce;%0Aimport org.apache.camel.ProducerTemplate;%0Aimport org.apache.camel.builder.RouteBuilder;%0Aimport org.apache.camel.test.junit4.CamelTestSupport;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0A%0A/**%0A *%0A * @version $Revision$%0A */%0Apublic class RawEventToBoundaryEvent extends CamelTestSupport %7B%0A%09%0A    @Produce(uri = TEST_IN)%0A    private ProducerTemplate producerTemplate;%0A%0A%09%0A%09private static final String TEST_IN=%22direct:in%22;%0A%09%0A%09@Before%0A    public void setUp() throws Exception %7B%0A        super.setUp();%0A    %7D%0A%0A    @Override%0A    protected RouteBuilder%5B%5D createRouteBuilders() throws Exception %7B%0A    %09RouteBuilder%5B%5D routes = new RouteBuilder%5B2%5D;%0A    %09%0A    %09// Create the Boundary Event Route%0A%09%09BoundaryEventRoute boundary = new BoundaryEventRoute();%0A%09%09// Configure our properties%0A%09%09%0A%09%09routes%5B0%5D = boundary;%0A%09%09%0A%09%09%0A%09%09routes%5B1%5D = new RouteBuilder()%7B%0A            @Override%0A            public void configure() throws Exception %7B%0A                from(TEST_IN)%0A                .marshal().serialization()%0A                .to(BoundaryRouteBuilder.DEFAULT_EVENT_TO_URI);%0A            %7D%0A        %7D;%0A        %0A        return routes;%0A    %7D%0A%0A    @Test%0A    public void testDefaultEvent() throws Exception %7B%0A    %09RawEvent event = RawEvent.getDefaultEvent();%0A    %09%0A    %09producerTemplate.sendBody(event);%0A%0A        Thread.sleep(2000);     %0A    %7D%0A%0A%7D%0A

Add JUnit test for validating RawEvents to Boundary