@Component
public class MessageReceiver implements MessageListener {
private static MessageTService messageTService;
@Autowired
public MessageReceiver(MessageTService messageTService) {
MessageReceiver.messageTService = messageTService;
}
}