Removed unnecessary code and SOP statements (#736)
This commit is contained in:
parent
efa4421967
commit
9c5a0ff10f
|
@ -24,10 +24,6 @@ public class SampleJmsMessageSender {
|
|||
}
|
||||
|
||||
public void sendMessage(final Employee employee) {
|
||||
System.out.println("Jms Message Sender : " + employee);
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
map.put("name", employee.getName());
|
||||
map.put("age", employee.getAge());
|
||||
this.jmsTemplate.convertAndSend(map);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue