Package org.springframework.integration.channel

Examples of org.springframework.integration.channel.DirectChannel


    return new RemoteJobExplorer(appmasterServiceClient());
  }

  @Bean
  public DirectChannel directChannel() {
    return new DirectChannel();
  }
View Full Code Here


    return new ConverterRegistrar(converters);
  }

  @Bean
  public DirectChannel directChannel() {
    return new DirectChannel();
  }
View Full Code Here

  @Test
  public void testWebSockets() throws InterruptedException {
    ConfigurableApplicationContext ctx = new ClassPathXmlApplicationContext("client-context.xml",
        org.springframework.integration.samples.websocket.standard.client.Application.class);
    DirectChannel webSocketInputChannel = ctx.getBean("webSocketInputChannel", DirectChannel.class);

    final CountDownLatch stopLatch = new CountDownLatch(2);

    webSocketInputChannel.addInterceptor(new ChannelInterceptorAdapter() {
      @Override
      public void postSend(Message<?> message, MessageChannel channel, boolean sent) {
        Object payload = message.getPayload();
        assertThat(payload, instanceOf(String.class));
        Date date = null;
View Full Code Here

  @IntegrationComponentScan
  public static class CConfig {

    @Bean
    public MessageChannel foo() {
      return new DirectChannel();
    }
View Full Code Here

      return transformingHandler;
    }

    @Bean
    public MessageChannel bar() {
      return new DirectChannel();
    }
View Full Code Here

  }

  @Bean
  public MessageChannel foo() {
    return new DirectChannel();
  }
View Full Code Here

    return transformingHandler;
  }

  @Bean
  public MessageChannel bar() {
    return new DirectChannel();
  }
View Full Code Here

    return gateway;
  }

  @Bean
  public MessageChannel requestChannel() {
    return new DirectChannel();
  }
View Full Code Here

    return gateway;
  }

  @Bean
  public MessageChannel requestChannel() {
    return new DirectChannel();
  }
View Full Code Here

    return new ObjectToStringTransformer();
  }

  @Bean
  public MessageChannel searchChannel() {
    return new DirectChannel();
  }
View Full Code Here

TOP

Related Classes of org.springframework.integration.channel.DirectChannel

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.