Remove Exception from IOS.onInit()
This commit is contained in:
committed by
Artem Bilan
parent
81b4ea1bef
commit
113a371f2c
@@ -131,7 +131,7 @@ public class SubscribableRedisChannel extends AbstractMessageChannel
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onInit() throws Exception {
|
||||
public void onInit() {
|
||||
if (this.initialized) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -141,7 +141,7 @@ public class RedisQueueInboundGateway extends MessagingGatewaySupport implements
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onInit() throws Exception {
|
||||
protected void onInit() {
|
||||
super.onInit();
|
||||
if (!this.extractPayload) {
|
||||
Assert.notNull(this.serializer, "'serializer' has to be provided where 'extractPayload == false'.");
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2013-2016 the original author or authors.
|
||||
* Copyright 2013-2018 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.
|
||||
@@ -99,7 +99,7 @@ public class RedisQueueOutboundChannelAdapter extends AbstractMessageHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onInit() throws Exception {
|
||||
protected void onInit() {
|
||||
super.onInit();
|
||||
if (this.evaluationContext == null) {
|
||||
this.evaluationContext = ExpressionUtils.createStandardEvaluationContext(getBeanFactory());
|
||||
|
||||
@@ -240,7 +240,7 @@ public class RedisStoreWritingMessageHandler extends AbstractMessageHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onInit() throws Exception {
|
||||
protected void onInit() {
|
||||
this.evaluationContext =
|
||||
ExpressionUtils.createStandardEvaluationContext(this.getBeanFactory());
|
||||
Assert.state(!this.mapKeyExpressionExplicitlySet ||
|
||||
|
||||
Reference in New Issue
Block a user