Skip to content

GH-2901: Add missed delegates into JmsInGateway #2903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,55 @@ public JmsInboundGateway(AbstractMessageListenerContainer listenerContainer,
@Override
public void setRequestChannel(MessageChannel requestChannel) {
super.setRequestChannel(requestChannel);
this.endpoint.getListener().setRequestChannel(requestChannel);
this.endpoint.setOutputChannel(requestChannel);
}

@Override
public void setRequestChannelName(String requestChannelName) {
super.setRequestChannelName(requestChannelName);
this.endpoint.setOutputChannelName(requestChannelName);
}

@Override
public void setReplyChannel(MessageChannel replyChannel) {
super.setReplyChannel(replyChannel);
this.endpoint.getListener().setReplyChannel(replyChannel);
}

@Override
public void setReplyChannelName(String replyChannelName) {
super.setReplyChannelName(replyChannelName);
this.endpoint.getListener().setReplyChannelName(replyChannelName);
}

@Override
public void setErrorChannel(MessageChannel errorChannel) {
super.setErrorChannel(errorChannel);
this.endpoint.setErrorChannel(errorChannel);
}

@Override
public void setErrorChannelName(String errorChannelName) {
super.setErrorChannelName(errorChannelName);
this.endpoint.setErrorChannelName(errorChannelName);
}

@Override
public void setRequestTimeout(long requestTimeout) {
super.setRequestTimeout(requestTimeout);
this.endpoint.setSendTimeout(requestTimeout);
}

@Override
public void setReplyTimeout(long replyTimeout) {
super.setReplyTimeout(replyTimeout);
this.endpoint.getListener().setReplyTimeout(replyTimeout);
}

@Override
public void setShouldTrack(boolean shouldTrack) {
super.setShouldTrack(shouldTrack);
this.endpoint.setShouldTrack(shouldTrack);
}

/**
Expand Down