Remove DSL Deprecated Methods and Others
Since the DSL code is new in this version there is no reason to keep deprecated method * Remove deprecated `resequence()` and `aggregate()` in the `IntegrationFlowDefinition` * Remove `InternalAggregatingMessageHandler` with the `MessageGroupProcessorWrapper` delegation logic in favor of newly introduced `AbstractCorrelatingMessageHandler.setOutputProcessor()` * Rework `Promise` Gateway Docs to the `Mono` * Rename `AsyncGatewayTests` "promise" words to "mono" * Resolve `com.rabbitmq.client.FlowListener` deprecation RecipientListRouter DSL refactoring Previously there was a DSL specific `DslRecipientListRouter` to overcome the lack of setters in the target `RecipientListRouter` and its `Recipient` * Add `channelName` variant for the `Recipient` * Add several new `addRecipient()` methods to the `RecipientListRouter` All those improvements allow to avoid extra bridge (or adapter) component between Java DSL and target `RecipientListRouter` * Make `LambdaMessageProcessor` and `GatewayMessageHandler` as `public` classes and move them to the appropriate packages Address PR comments Add `isLambda()` condition to `RecipientListRouterSpec` to avoid ambiguity for the provided `GenericSelector` impl checkstyle polishing
This commit is contained in:
committed by
Gary Russell
parent
b60e1dcb50
commit
092d876fae
@@ -40,7 +40,6 @@ import com.rabbitmq.client.Channel;
|
||||
import com.rabbitmq.client.Command;
|
||||
import com.rabbitmq.client.ConfirmListener;
|
||||
import com.rabbitmq.client.Consumer;
|
||||
import com.rabbitmq.client.FlowListener;
|
||||
import com.rabbitmq.client.GetResponse;
|
||||
import com.rabbitmq.client.Method;
|
||||
import com.rabbitmq.client.ReturnListener;
|
||||
@@ -181,13 +180,13 @@ public class StubRabbitConnectionFactory implements ConnectionFactory {
|
||||
public void addReturnListener(ReturnListener listener) {
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public FlowListener getFlowListener() {
|
||||
@SuppressWarnings("deprecation")
|
||||
public com.rabbitmq.client.FlowListener getFlowListener() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public void setFlowListener(FlowListener listener) {
|
||||
@SuppressWarnings("deprecation")
|
||||
public void setFlowListener(com.rabbitmq.client.FlowListener listener) {
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
@@ -497,12 +496,12 @@ public class StubRabbitConnectionFactory implements ConnectionFactory {
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public void addFlowListener(FlowListener listener) {
|
||||
public void addFlowListener(com.rabbitmq.client.FlowListener listener) {
|
||||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public boolean removeFlowListener(FlowListener listener) {
|
||||
public boolean removeFlowListener(com.rabbitmq.client.FlowListener listener) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user