Matching core's GH-1485 changes

This commit is contained in:
Oleg Zhurakousky
2018-09-19 11:27:19 +02:00
parent 7d39e0ccf9
commit 1f5d2ad643

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@ import org.springframework.expression.spel.standard.SpelExpressionParser;
import org.springframework.integration.support.MessageBuilder;
import org.springframework.messaging.Message;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.support.ChannelInterceptorAdapter;
import org.springframework.messaging.support.ChannelInterceptor;
import org.springframework.util.Assert;
/**
@@ -33,7 +33,7 @@ import org.springframework.util.Assert;
* @since 2.0
*
*/
public class RabbitExpressionEvaluatingInterceptor extends ChannelInterceptorAdapter {
public class RabbitExpressionEvaluatingInterceptor implements ChannelInterceptor {
public static final ExpressionParser PARSER = new SpelExpressionParser();