File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
spring-rabbit/src/main/java/org/springframework/amqp/rabbit/listener Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 48
48
import org .springframework .amqp .rabbit .connection .RabbitResourceHolder ;
49
49
import org .springframework .amqp .rabbit .connection .RabbitUtils ;
50
50
import org .springframework .amqp .rabbit .connection .SimpleResourceHolder ;
51
- import org .springframework .amqp .rabbit .listener .api .ChannelAwareBatchMessagelistener ;
51
+ import org .springframework .amqp .rabbit .listener .api .ChannelAwareBatchMessageListener ;
52
52
import org .springframework .amqp .rabbit .listener .exception .FatalListenerExecutionException ;
53
53
import org .springframework .amqp .rabbit .listener .exception .FatalListenerStartupException ;
54
54
import org .springframework .amqp .rabbit .support .ActiveObjectCounter ;
@@ -516,7 +516,7 @@ protected final boolean sharedConnectionEnabled() {
516
516
@ Override
517
517
protected void doInitialize () {
518
518
Assert .state (!this .consumerBatchEnabled || getMessageListener () instanceof BatchMessageListener
519
- || getMessageListener () instanceof ChannelAwareBatchMessagelistener ,
519
+ || getMessageListener () instanceof ChannelAwareBatchMessageListener ,
520
520
"When setting 'consumerBatchEnabled' to true, the listener must support batching" );
521
521
Assert .state (!this .consumerBatchEnabled || isDeBatchingEnabled (),
522
522
"When setting 'consumerBatchEnabled' to true, 'deBatchingEnabled' must also be true" );
Original file line number Diff line number Diff line change 22
22
23
23
import org .springframework .amqp .rabbit .batch .BatchingStrategy ;
24
24
import org .springframework .amqp .rabbit .batch .SimpleBatchingStrategy ;
25
- import org .springframework .amqp .rabbit .listener .api .ChannelAwareBatchMessagelistener ;
25
+ import org .springframework .amqp .rabbit .listener .api .ChannelAwareBatchMessageListener ;
26
26
import org .springframework .amqp .rabbit .listener .api .RabbitListenerErrorHandler ;
27
27
import org .springframework .amqp .rabbit .support .RabbitExceptionTranslator ;
28
28
import org .springframework .lang .Nullable ;
40
40
*
41
41
*/
42
42
public class BatchMessagingMessageListenerAdapter extends MessagingMessageListenerAdapter
43
- implements ChannelAwareBatchMessagelistener {
43
+ implements ChannelAwareBatchMessageListener {
44
44
45
45
private final MessagingMessageConverterAdapter converterAdapter ;
46
46
Original file line number Diff line number Diff line change 29
29
* @since 2.2
30
30
*
31
31
*/
32
- public interface ChannelAwareBatchMessagelistener extends ChannelAwareMessageListener {
32
+ public interface ChannelAwareBatchMessageListener extends ChannelAwareMessageListener {
33
33
34
34
@ Override
35
35
default void onMessage (Message message , Channel channel ) throws Exception {
You can’t perform that action at this time.
0 commit comments