Created
September 13, 2015 11:09
-
-
Save abhirockzz/faf399bc14a238250d27 to your computer and use it in GitHub Desktop.
Specifying JMS Session Mode
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
@Inject | |
@JMSConnectionFactory("jms/myConnectionFactory") | |
//Accepts an integer. Other options are: JMSContext.SESSION_TRANSACTED, JMSContext.CLIENT_ACKNOWLEDGE and JMSContext.DUPS_OK_ACKNOWLEDGE | |
@JMSSessionMode(JMSContext.AUTO_ACKNOWLEDGE) | |
JMSContext ctx; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment