Replace with the same class from spring-messaging. JIRA: https://jira.springsource.org/browse/INT-3245