Add Nullability support into Java DSL

This commit is contained in:
abilan
2023-04-14 14:16:36 -04:00
parent 053cc00484
commit d5181bf0d7
105 changed files with 514 additions and 366 deletions

View File

@@ -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)
*/

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -1,4 +1,5 @@
/**
* Provides AMQP Component support for the Java DSL.
*/
@org.springframework.lang.NonNullApi
package org.springframework.integration.amqp.dsl;