Created
February 21, 2020 14:28
-
-
Save vlytsus/40be77216e65ddaabe65c890c2f34729 to your computer and use it in GitHub Desktop.
Spring JmsTemplate Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private final JmsTemplate jmsTemplate; | |
public String sendMessage(String queueName, String payload) { | |
jmsTemplate.convertAndSend( queueName, payload ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment