Package org.springframework.integration.transformer

Examples of org.springframework.integration.transformer.Transformer


  private EventDrivenConsumer consumer;

  @Test
  public void transformerOne() {
    setUp("xqueryTransformerOne");
    Transformer transformer = TestUtils.getPropertyValue(consumer, "handler.transformer", Transformer.class);
    Assert.assertEquals(XQueryTransformer.class, transformer.getClass());
    Assert.assertEquals(String.class, TestUtils.getPropertyValue(transformer, "resultType", Class.class));
    Assert.assertNotNull(TestUtils.getPropertyValue(transformer, "executor.xQuery", String.class));
    Assert.assertEquals(SaxonXQDataSource.class,
        TestUtils.getPropertyValue(transformer, "executor.xqDataSource", XQDataSource.class).getClass());
    @SuppressWarnings("unchecked")
View Full Code Here

TOP

Related Classes of org.springframework.integration.transformer.Transformer

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.