@Test
public void test() throws InterruptedException {
// ensure queue already created
BindOk bindOk = template.execute(new TestChannelCallback());
Assert.assertNotNull(bindOk);
// setup async container
SimpleMessageListenerContainer container = new SimpleMessageListenerContainer();
container.setConnectionFactory(connectionFactory);