Verify types when setting header
When a header is being set, verify that the type that's provided is legal for the header that's been set. For example, the error channel's type must be a MessageChannel or a String. The method that performs type verification is protected so that it can be overriden by sub-classes. It is expected that an overriding method will call the super method.
Showing
想要评论请 注册 或 登录