You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `EmbeddedJsonHeadersMessageMapperTests.testEmbedSome` does not embed a `timestamp` header.
To see that in action, add a short `Thread.sleep(2);` between
`encode` and `decode` operations.
Otherwise, there is no guarantee that the system clock might not produce the same timestamp
for a new message in the `EmbeddedJsonHeadersMessageMapper.toMessage()`
(cherry picked from commit 90b0555)
Copy file name to clipboardExpand all lines: spring-integration-core/src/test/java/org/springframework/integration/support/json/EmbeddedJsonHeadersMessageMapperTests.java
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,8 @@ public void testEmbedSome() throws Exception {
0 commit comments