Message resultMessage = sentSavingTemplate.getLastMessage();
return messageConverter.fromMessage(resultMessage);
}
};
amqpProxyFactoryBean.setAmqpTemplate(directForwardingTemplate);
amqpProxyFactoryBean.afterPropertiesSet();
Object rawProxy = amqpProxyFactoryBean.getObject();
riggedProxy = (TestServiceInterface) rawProxy;
}
@Test