List of usage examples for org.springframework.messaging.support ExecutorSubscribableChannel ExecutorSubscribableChannel
public ExecutorSubscribableChannel()
From source file:org.springframework.messaging.simp.stomp.StompBrokerRelayMessageHandlerIntegrationTests.java
@Before public void setUp() throws Exception { logger.debug("Setting up before '" + this.testName.getMethodName() + "'"); this.port = SocketUtils.findAvailableTcpPort(61613); this.responseChannel = new ExecutorSubscribableChannel(); this.responseHandler = new TestMessageHandler(); this.responseChannel.subscribe(this.responseHandler); this.eventPublisher = new TestEventPublisher(); startActiveMqBroker();/* ww w . j av a 2 s. c o m*/ createAndStartRelay(); }