Skip to content

Commit be088c6

Browse files
committed
Make CorrelationData.setReturnedMessage public
See spring-projects/spring-integration#2759 __cherry-pick to 2.1.x, 2.0.x, 1.7.x__
1 parent 970cc48 commit be088c6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

spring-rabbit/src/main/java/org/springframework/amqp/rabbit/connection/CorrelationData.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -97,7 +97,12 @@ public Message getReturnedMessage() {
9797
return this.returnedMessage;
9898
}
9999

100-
void setReturnedMessage(Message returnedMessage) {
100+
/**
101+
* Set a returned message for this correlation data.
102+
* @param returnedMessage the returned message.
103+
* @since 1.7.13
104+
*/
105+
public void setReturnedMessage(Message returnedMessage) {
101106
this.returnedMessage = returnedMessage;
102107
}
103108

0 commit comments

Comments
 (0)