Add Nullability support into Java DSL
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2017-2022 the original author or authors.
|
||||
* Copyright 2017-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -290,7 +290,7 @@ public abstract class AbstractMessageListenerContainerSpec<S extends AbstractMes
|
||||
|
||||
/**
|
||||
* Set the {@link MessagePropertiesConverter} for this listener container.
|
||||
* @param messagePropertiesConverter The properties converter.
|
||||
* @param messagePropertiesConverter the converter for AMQP properties.
|
||||
* @return the spec.
|
||||
* @see AbstractMessageListenerContainer#setMessagePropertiesConverter(MessagePropertiesConverter)
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2017-2020 the original author or authors.
|
||||
* Copyright 2017-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -36,7 +36,9 @@ public class AmqpInboundChannelAdapterDMLCSpec
|
||||
super(new DirectMessageListenerContainerSpec(listenerContainer));
|
||||
}
|
||||
|
||||
public AmqpInboundChannelAdapterDMLCSpec configureContainer(Consumer<DirectMessageListenerContainerSpec> configurer) {
|
||||
public AmqpInboundChannelAdapterDMLCSpec configureContainer(
|
||||
Consumer<DirectMessageListenerContainerSpec> configurer) {
|
||||
|
||||
configurer.accept((DirectMessageListenerContainerSpec) this.listenerContainerSpec);
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2017-2020 the original author or authors.
|
||||
* Copyright 2017-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -37,7 +37,9 @@ public class AmqpInboundChannelAdapterSMLCSpec
|
||||
super(new SimpleMessageListenerContainerSpec(listenerContainer));
|
||||
}
|
||||
|
||||
public AmqpInboundChannelAdapterSMLCSpec configureContainer(Consumer<SimpleMessageListenerContainerSpec> configurer) {
|
||||
public AmqpInboundChannelAdapterSMLCSpec configureContainer(
|
||||
Consumer<SimpleMessageListenerContainerSpec> configurer) {
|
||||
|
||||
configurer.accept((SimpleMessageListenerContainerSpec) this.listenerContainerSpec);
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/**
|
||||
* Provides AMQP Component support for the Java DSL.
|
||||
*/
|
||||
@org.springframework.lang.NonNullApi
|
||||
package org.springframework.integration.amqp.dsl;
|
||||
|
||||
Reference in New Issue
Block a user