<BUG>DirectChannel moduleOutputChannel = new DirectChannel();QueueChannel moduleInputChannel = new QueueChannel();Binding<MessageChannel> producerBinding = binder.bindProducer("bar.0", moduleOutputChannel, createProducerProperties());Binding<MessageChannel> consumerBinding = binder.bindConsumer("bar.0", "test", moduleInputChannel, createConsumerProperties());binderBindUnbindLatency();</BUG><CONTEXT>consumerBinding2.unbind();}@Testpublic void testSendAndReceiveNoOriginalContentType() throws Exception {Binder binder = getBinder();<extra_id_0>Message<?> message = MessageBuilder.withPayload("foo").build();</CONTEXT>
BindingProperties producerBindingProperties = createProducerBindingProperties(createProducerProperties());DirectChannel moduleOutputChannel = createBindableChannel("output", producerBindingProperties);Binding<MessageChannel> producerBinding = binder.bindProducer("bar.0", moduleOutputChannel,producerBindingProperties.getProducer());Binding<MessageChannel> consumerBinding = binder.bindConsumer("bar.0", "test", moduleInputChannel,binderBindUnbindLatency();