Examples of XQueryRouter


Examples of org.springframework.integration.xquery.router.XQueryRouter


  @Test
  public void routerOne() {
    setUp("xqueryRouterOne");
    XQueryRouter router = TestUtils.getPropertyValue(consumer, "handler", XQueryRouter.class);
    Assert.assertNotNull(TestUtils.getPropertyValue(router, "executor.xQuery", String.class));
    Assert.assertEquals(SaxonXQDataSource.class,
        TestUtils.getPropertyValue(router, "executor.xqDataSource", XQDataSource.class).getClass());
    @SuppressWarnings("unchecked")
    Map<String, XQueryParameter> params =
View Full Code Here

Examples of org.springframework.integration.xquery.router.XQueryRouter

  }

  @Test
  public void routerTwo() {
    setUp("xqueryRouterTwo");
    XQueryRouter router = TestUtils.getPropertyValue(consumer, "handler", XQueryRouter.class);
    Assert.assertNotNull(TestUtils.getPropertyValue(router, "executor.xQuery", String.class));
    Assert.assertEquals(DummyXQDataSource.class,
        TestUtils.getPropertyValue(router, "executor.xqDataSource", XQDataSource.class).getClass());
    Assert.assertEquals(DummyXmlPayloadConverter.class,
        TestUtils.getPropertyValue(router,"executor.converter",XmlPayloadConverter.class).getClass());
View Full Code Here

Examples of org.springframework.integration.xquery.router.XQueryRouter

  }

  @Test
  public void routerThree() {
    setUp("xqueryRouterThree");
    XQueryRouter router = TestUtils.getPropertyValue(consumer, "handler", XQueryRouter.class);
    Assert.assertNotNull(TestUtils.getPropertyValue(router, "executor.xQuery", String.class));
    Assert.assertEquals(ClassPathResource.class, TestUtils.getPropertyValue(router, "executor.xQueryFileResource",Resource.class).getClass());
    destroy();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.