}
@Override
public void afterPropertiesSet() throws Exception {
if (CollectionUtils.isEmpty(getEndpointConfiguration().getClientInterceptors())) {
LoggingClientInterceptor loggingClientInterceptor = new LoggingClientInterceptor();
loggingClientInterceptor.setMessageListener(getMessageListener());
getEndpointConfiguration().setClientInterceptors(Arrays.<ClientHttpRequestInterceptor>asList(loggingClientInterceptor));
}
}