Last active
March 20, 2020 01:34
-
-
Save ipolevoy/d2a36b00444afcfdad18d74fdcd659d9 to your computer and use it in GitHub Desktop.
Artemis Queue Creation
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
... create a Coinfiguration object | |
CoreQueueConfiguration coreQueueConfiguration = new CoreQueueConfiguration(); | |
coreQueueConfiguration.setName(QUEUE_NAME).setDurable(true); | |
configuration.addQueueConfiguration(coreQueueConfiguration); | |
server = new EmbeddedActiveMQ(); | |
server.setConfiguration(configuration); | |
server.start(); | |
... | |
Queue jmsQueue = jmsSession.createQueue(QUEUE_NAME); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment