INT-3341: Add Redis Queue Gateways

Add RedisQueueOutboundGateway and RedisQueueInboundGateway

JIRA: https://jira.spring.io/browse/INT-3341

add test

fix format issue

change expectmessage to extractpayload, fix test potential bug

fix copyright year

fix format and naming issue

fix as Artem's comments

fix as Artem's comments

change boolean condition judgement

INT-3341: Polishing

Minor Doc Polishing
This commit is contained in:
David Liu
2014-10-25 18:39:04 +03:00
committed by Gary Russell
parent ff2b15ea9e
commit 1d4785f3d2
17 changed files with 1443 additions and 9 deletions

View File

@@ -67,10 +67,6 @@ public abstract class AbstractInboundGatewayParser extends AbstractSimpleBeanDef
if (StringUtils.hasText(errorChannel)) {
builder.addPropertyReference("errorChannel", errorChannel);
}
String autoStartup = element.getAttribute("auto-startup");
if (StringUtils.hasText(autoStartup)) {
builder.addPropertyValue("autoStartup", autoStartup);
}
this.doPostProcess(builder, element);
}

View File

@@ -232,7 +232,7 @@ public abstract class MessagingGatewaySupport extends AbstractEndpoint implement
}
}
private MessageChannel getRequestChannel() {
protected MessageChannel getRequestChannel() {
if (this.requestChannelName != null) {
synchronized (this) {
if (this.requestChannelName != null) {
@@ -252,7 +252,7 @@ public abstract class MessagingGatewaySupport extends AbstractEndpoint implement
return this.requestChannel;
}
private MessageChannel getReplyChannel() {
protected MessageChannel getReplyChannel() {
if (this.replyChannelName != null) {
synchronized (this) {
if (this.replyChannelName != null) {
@@ -272,7 +272,7 @@ public abstract class MessagingGatewaySupport extends AbstractEndpoint implement
return this.replyChannel;
}
private MessageChannel getErrorChannel() {
protected MessageChannel getErrorChannel() {
if (this.errorChannelName != null) {
synchronized (this) {
if (this.errorChannelName != null) {