@@ -106,15 +106,15 @@ void testSendAndReceiveWithHeaderMappingsConsumer() throws Exception {
106
106
producerProps .getExtension ().setAllowedHeaders (new String []{"firstHeader" , "secondHeader" });
107
107
108
108
BindingProperties outputBindingProperties = createProducerBindingProperties (producerProps );
109
- DirectChannel moduleOutputChannel = createBindableChannel ("output" , outputBindingProperties );
109
+ DirectChannel moduleOutputChannel = createBindableChannel ("output-consumer-mapping " , outputBindingProperties );
110
110
111
111
BindingProperties inputBindingProperties = createConsumerBindingProperties (consumerProps );
112
- DirectChannel moduleInputChannel = createBindableChannel ("input" , inputBindingProperties );
112
+ DirectChannel moduleInputChannel = createBindableChannel ("input-consumer-mapping " , inputBindingProperties );
113
113
114
114
Binding <MessageChannel > producerBinding = binder .bindProducer (String .format ("foo%s0" , getDestinationNameDelimiter ()),
115
115
moduleOutputChannel , producerProps );
116
116
Binding <MessageChannel > consumerBinding = binder .bindConsumer (String .format ("foo%s0" , getDestinationNameDelimiter ()),
117
- "test-group" , moduleInputChannel ,
117
+ "test-group-consumer " , moduleInputChannel ,
118
118
consumerProps );
119
119
120
120
Message <?> message = MessageBuilder .withPayload ("insert some random stuff here" )
@@ -124,7 +124,7 @@ void testSendAndReceiveWithHeaderMappingsConsumer() throws Exception {
124
124
// Let the consumer actually bind to the producer before sending a msg
125
125
binderBindUnbindLatency ();
126
126
CountDownLatch latch = new CountDownLatch (1 );
127
- AtomicReference <Message <byte []>> inboundMessageRef = new AtomicReference <Message < byte []> >();
127
+ AtomicReference <Message <byte []>> inboundMessageRef = new AtomicReference <>();
128
128
moduleInputChannel .subscribe (message1 -> {
129
129
try {
130
130
inboundMessageRef .set ((Message <byte []>) message1 );
@@ -159,15 +159,15 @@ void testSendAndReceiveWithHeaderMappingsProducer() throws Exception {
159
159
producerProps .getExtension ().setAllowedHeaders (new String []{"secondHeader" });
160
160
161
161
BindingProperties outputBindingProperties = createProducerBindingProperties (producerProps );
162
- DirectChannel moduleOutputChannel = createBindableChannel ("output" , outputBindingProperties );
162
+ DirectChannel moduleOutputChannel = createBindableChannel ("output-producer-mapping " , outputBindingProperties );
163
163
164
164
BindingProperties inputBindingProperties = createConsumerBindingProperties (consumerProps );
165
- DirectChannel moduleInputChannel = createBindableChannel ("input" , inputBindingProperties );
165
+ DirectChannel moduleInputChannel = createBindableChannel ("input-producer-mapping " , inputBindingProperties );
166
166
167
167
Binding <MessageChannel > producerBinding = binder .bindProducer (String .format ("foo%s0" , getDestinationNameDelimiter ()),
168
168
moduleOutputChannel , producerProps );
169
169
Binding <MessageChannel > consumerBinding = binder .bindConsumer (String .format ("foo%s0" , getDestinationNameDelimiter ()),
170
- "test-group" , moduleInputChannel ,
170
+ "test-group-producer " , moduleInputChannel ,
171
171
consumerProps );
172
172
173
173
Message <?> message = MessageBuilder .withPayload ("insert some random stuff here" )
@@ -177,7 +177,7 @@ void testSendAndReceiveWithHeaderMappingsProducer() throws Exception {
177
177
// Let the consumer actually bind to the producer before sending a msg
178
178
binderBindUnbindLatency ();
179
179
CountDownLatch latch = new CountDownLatch (1 );
180
- AtomicReference <Message <byte []>> inboundMessageRef = new AtomicReference <Message < byte []> >();
180
+ AtomicReference <Message <byte []>> inboundMessageRef = new AtomicReference <>();
181
181
moduleInputChannel .subscribe (message1 -> {
182
182
try {
183
183
inboundMessageRef .set ((Message <byte []>) message1 );
0 commit comments