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
Copy file name to clipboardExpand all lines: spring-integration-event/src/main/java/org/springframework/integration/event/outbound/ApplicationEventPublishingMessageHandler.java
+5-4
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2019 the original author or authors.
2
+
* Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -30,7 +30,8 @@
30
30
* Spring's {@link ApplicationEvent} used by this adapter to simply wrap the
31
31
* {@link Message}.
32
32
* <p>
33
-
* If the {@link #publishPayload} flag is specified to {@code true}, the {@code payload}
33
+
* However, if the {@code payload} is an instance of {@link ApplicationEvent}, or
34
+
* if the {@link #publishPayload} flag is specified to {@code true}, the {@code payload}
34
35
* will be published as is without wrapping to any {@link ApplicationEvent}.
35
36
*
36
37
* @author Mark Fisher
@@ -63,8 +64,8 @@ public void setApplicationEventPublisher(ApplicationEventPublisher applicationEv
Copy file name to clipboardExpand all lines: spring-integration-event/src/test/java/org/springframework/integration/event/outbound/ApplicationEventPublishingMessageHandlerTests.java
+23-13
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2024 the original author or authors.
2
+
* Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
0 commit comments