1415161718192021
producerService.send(); } private static void receive(){ ConsumerService consumerService = (ConsumerService)appContext.getBean("consumerService"); consumerService.receive(); } }