Package org.switchyard.quickstarts.camel.sql.binding

Examples of org.switchyard.quickstarts.camel.sql.binding.Greeting


        _context.getComponent("timer", TimerComponent.class).stop();
    }

    @Test
    public void shouldStoreGreet() throws Exception {
        invoker.operation("store").sendInOnly(new Greeting(RECEIVER, SENDER));

        ResultSet result = connection.createStatement().executeQuery("SELECT * FROM greetings");
        assertTrue(result.next());
        assertEquals(RECEIVER, result.getString("receiver"));
        assertEquals(SENDER, result.getString("sender"));
View Full Code Here

TOP

Related Classes of org.switchyard.quickstarts.camel.sql.binding.Greeting

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.