Skip to content

Commit c58e86f

Browse files
committed
AMQP-52:Remove Obsolete MessageProperties Comments
JIRA: https://jira.spring.io/projects/AMQP/issues/AMQP-52 Differences with AMQP 1.0 types - AMQP 1.0 is not supported.
1 parent 97df895 commit c58e86f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

spring-amqp/src/main/java/org/springframework/amqp/core/MessageProperties.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -169,15 +169,10 @@ public void setTimestamp(Date timestamp) {
169169
this.timestamp = timestamp; //NOSONAR
170170
}
171171

172-
// NOTE qpid java timestamp is long, presumably can convert to Date.
173172
public Date getTimestamp() {
174173
return this.timestamp; //NOSONAR
175174
}
176175

177-
// NOTE Not forward compatible with qpid 1.0 .NET
178-
// qpid 0.8 .NET/Java: is a string
179-
// qpid 1.0 .NET: MessageId property on class MessageProperties and is UUID
180-
// There is an 'ID' stored IMessage class and is an int.
181176
public void setMessageId(String messageId) {
182177
this.messageId = messageId;
183178
}
@@ -190,9 +185,6 @@ public void setUserId(String userId) {
190185
this.userId = userId;
191186
}
192187

193-
// NOTE Note forward compatible with qpid 1.0 .NET
194-
// qpid 0.8 .NET/java: is a string
195-
// qpid 1.0 .NET: getUserId is byte[]
196188
public String getUserId() {
197189
return this.userId;
198190
}
@@ -218,9 +210,6 @@ public String getAppId() {
218210
return this.appId;
219211
}
220212

221-
// NOTE not forward compatible with qpid 1.0 .NET
222-
// qpid 0.8 .NET/Java: is a string
223-
// qpid 1.0 .NET: is not present
224213
public void setClusterId(String clusterId) {
225214
this.clusterId = clusterId;
226215
}
@@ -233,7 +222,6 @@ public void setType(String type) {
233222
this.type = type;
234223
}
235224

236-
// NOTE structureType is int in Qpid
237225
public String getType() {
238226
return this.type;
239227
}

0 commit comments

Comments
 (0)