-
Notifications
You must be signed in to change notification settings - Fork 1.1k
GH-8577: Revise ImapIdleChannelAdapter
logic
#8588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -167,10 +167,11 @@ | |
<xsd:attribute name="task-executor" type="xsd:string"> | ||
<xsd:annotation> | ||
<xsd:documentation><![CDATA[ | ||
Reference to a bean that implements | ||
[DEPRECATED] Reference to a bean that implements | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same comment re: deprecation; I don't see how we can deprecate it, but just ignore it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We do ignore it from the parser. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I saw that; but it makes no sense to me; if the parser ignores it, we should remove it altogether (and record it as a breaking change in the migration guide). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK. Let me issue an new PR against |
||
org.springframework.core.task.TaskExecutor which is used | ||
to send Messages received by this adapter. | ||
If not provided, the adapter uses a single-threaded executor. | ||
Deprecated since 6.1 in favor of async hand-off downstream in the flow. | ||
]]></xsd:documentation> | ||
<xsd:appinfo> | ||
<tool:annotation kind="ref"> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we need to deprecate in 6.0 and just remove here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd love to, but that is a behavior change and making it deprecated there would just lead to always use a default one.
There is a simple workaround with setting a
SyncTaskExecutor
instead.Plus it is not too far from
6.2
this Fall where we indeed will remove it already.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just bite the bullet and make it a breaking change. Deprecating implies that it will still work, but we don't encourage the use.