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
Starting with Spring Batch 5, the whole abstract class ItemStreamSupport is deprecated and marked for removal.
For the methods close, open, and update, the default implementations of ItemStream yield a one-to-one replacement, respectively. ItemStreamSupport also has the methods setName, setExecutionContextName, and getExecutionContextKey, for which no replacements exist as far as I can tell.
Is there a replacement available for the latter methods? Or are only the methods that are inherited from ItemStream planned to be removed? If so, why not remove them without deprecation?
The text was updated successfully, but these errors were encountered:
Thank you for pointing this. That's correct, only the methods open, close and update should deprecated, not the entire class. This will be fixed for 5.0 GA.
Starting with Spring Batch 5, the whole abstract class
ItemStreamSupport
is deprecated and marked for removal.For the methods
close
,open
, andupdate
, the default implementations ofItemStream
yield a one-to-one replacement, respectively.ItemStreamSupport
also has the methodssetName
,setExecutionContextName
, andgetExecutionContextKey
, for which no replacements exist as far as I can tell.Is there a replacement available for the latter methods? Or are only the methods that are inherited from
ItemStream
planned to be removed? If so, why not remove them without deprecation?The text was updated successfully, but these errors were encountered: