Package org.apache.camel.processor.interceptor.jpa

Examples of org.apache.camel.processor.interceptor.jpa.JpaTraceEventMessage


        jpaTemplate = (JpaTemplate)applicationContext.getBean("jpaTemplate", JpaTemplate.class);

        List list = jpaTemplate.find(SELECT_ALL_STRING);
        assertEquals(1, list.size());
       
        JpaTraceEventMessage db = (JpaTraceEventMessage) list.get(0);
        assertNotNull(db.getId());
        assertEquals("direct://start", db.getFromEndpointUri());
        assertEquals("mock://result", db.getToNode());
    }
View Full Code Here


        jpaTemplate = (JpaTemplate)applicationContext.getBean("jpaTemplate", JpaTemplate.class);

        List list = jpaTemplate.find(SELECT_ALL_STRING);
        assertEquals(1, list.size());
       
        JpaTraceEventMessage db = (JpaTraceEventMessage) list.get(0);
        assertNotNull(db.getId());
        assertEquals("direct://start", db.getFromEndpointUri());
        assertEquals("mock://result", db.getToNode());
    }
View Full Code Here

        jpaTemplate = (JpaTemplate)applicationContext.getBean("jpaTemplate", JpaTemplate.class);

        List list = jpaTemplate.find(SELECT_ALL_STRING);
        assertEquals(1, list.size());
       
        JpaTraceEventMessage db = (JpaTraceEventMessage) list.get(0);
        assertNotNull(db.getId());
        assertEquals("direct://start", db.getFromEndpointUri());
        assertEquals("mock://result", db.getToNode());
        assertEquals("foo", db.getRouteId());
    }
View Full Code Here

        jpaTemplate = applicationContext.getBean("jpaTemplate", JpaTemplate.class);

        List<?> list = jpaTemplate.find(SELECT_ALL_STRING);
        assertEquals(1, list.size());
       
        JpaTraceEventMessage db = (JpaTraceEventMessage) list.get(0);
        assertNotNull(db.getId());
        assertEquals("direct://start", db.getFromEndpointUri());
        assertEquals("mock://result", db.getToNode());
        assertEquals("foo", db.getRouteId());
    }
View Full Code Here

        jpaTemplate = (JpaTemplate)applicationContext.getBean("jpaTemplate", JpaTemplate.class);

        List<?> list = jpaTemplate.find(SELECT_ALL_STRING);
        assertEquals(1, list.size());
       
        JpaTraceEventMessage db = (JpaTraceEventMessage) list.get(0);
        assertNotNull(db.getId());
        assertEquals("direct://start", db.getFromEndpointUri());
        assertEquals("mock://result", db.getToNode());
        assertEquals("foo", db.getRouteId());
    }
View Full Code Here

        jpaTemplate = (JpaTemplate)applicationContext.getBean("jpaTemplate", JpaTemplate.class);

        List list = jpaTemplate.find(SELECT_ALL_STRING);
        assertEquals(1, list.size());
       
        JpaTraceEventMessage db = (JpaTraceEventMessage) list.get(0);
        assertNotNull(db.getId());
        assertEquals("direct://start", db.getFromEndpointUri());
        assertEquals("mock://result", db.getToNode());
    }
View Full Code Here

    private void assertEntityInDB() throws Exception {
        List<?> list = entityManager.createQuery(SELECT_ALL_STRING).getResultList();
        assertEquals(1, list.size());

        JpaTraceEventMessage db = (JpaTraceEventMessage)list.get(0);
        assertNotNull(db.getId());
        assertEquals("direct://start", db.getFromEndpointUri());
        assertEquals("mock://result", db.getToNode());
        assertEquals("foo", db.getRouteId());
    }
View Full Code Here

TOP

Related Classes of org.apache.camel.processor.interceptor.jpa.JpaTraceEventMessage

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.