-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: messagingIssues in messaging modules (jms, messaging)Issues in messaging modules (jms, messaging)type: enhancementA general enhancementA general enhancement
Milestone
Description
Artem Bilan opened SPR-12071 and commented
Since Spring Integration is based on Spring Messaging there is no reason to have duplications of the same annotations.
@Header
can be supported as is, but @Payload
in Spring Integration can be configured on method level to be applied for the return value in case of @Publisher
, or for <gateway>
's interface methods without arguments.
We are going to deprecate those annotations in the SI and just rely on these Messaging annotations, but to have more smooth migration we have to avoid breaking changes.
That's why we need this improvement now.
Thanks in advance
Issue Links:
- INT-3492 Deprecate
@Payload
and@Header
and rely on similar annotations from the Spring Messaging ("is depended on by")
Referenced from: commits e010309
Metadata
Metadata
Assignees
Labels
in: messagingIssues in messaging modules (jms, messaging)Issues in messaging modules (jms, messaging)type: enhancementA general enhancementA general enhancement