diff --git a/spring-remoting-modules-3/remoting-jms-artemis/.idea/uiDesigner.xml b/spring-remoting-modules-3/remoting-jms-artemis/.idea/uiDesigner.xml new file mode 100644 index 0000000000..2b63946d5b --- /dev/null +++ b/spring-remoting-modules-3/remoting-jms-artemis/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spring-remoting-modules-3/remoting-jms-artemis/remoting-jms-artemis-client/src/main/java/com/ossez/artemis/client/JmsArtemisClientApplication.java b/spring-remoting-modules-3/remoting-jms-artemis/remoting-jms-artemis-client/src/main/java/com/ossez/artemis/client/JmsArtemisClientApplication.java index 048dc9e351..7e6013b88e 100644 --- a/spring-remoting-modules-3/remoting-jms-artemis/remoting-jms-artemis-client/src/main/java/com/ossez/artemis/client/JmsArtemisClientApplication.java +++ b/spring-remoting-modules-3/remoting-jms-artemis/remoting-jms-artemis-client/src/main/java/com/ossez/artemis/client/JmsArtemisClientApplication.java @@ -4,6 +4,13 @@ package com.ossez.artemis.client; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +/** + * JMS Message Producer Application + * + * @author YuCheng Hu + */ + + @SpringBootApplication public class JmsArtemisClientApplication { diff --git a/spring-remoting-modules-3/remoting-jms-artemis/remoting-jms-artemis-client/src/main/java/com/ossez/artemis/client/controller/MQController.java b/spring-remoting-modules-3/remoting-jms-artemis/remoting-jms-artemis-client/src/main/java/com/ossez/artemis/client/controller/MQController.java index e8d9f1877d..4a490ed6c1 100644 --- a/spring-remoting-modules-3/remoting-jms-artemis/remoting-jms-artemis-client/src/main/java/com/ossez/artemis/client/controller/MQController.java +++ b/spring-remoting-modules-3/remoting-jms-artemis/remoting-jms-artemis-client/src/main/java/com/ossez/artemis/client/controller/MQController.java @@ -20,7 +20,7 @@ public class MQController { private final JmsProducer jmsProducer; @PostMapping("/send") - public String addContractorInfo(@RequestBody String request) { + public String sendToMQ(@RequestBody String request) { jmsProducer.send(request); return "Send";