How to make message driven bean that does not use transactions for receiving messages (in
JBoss 4.2.2)?
Is it enough to set acknowledgeMode to Auto-acknowledge? :
@MessageDriven(activationConfig = {
| @ActivationConfigProperty(propertyName = "destinationType",
propertyValue = "javax.jms.Queue"),
| @ActivationConfigProperty(propertyName = "destination",
propertyValue = "queue/MyQueue1"),
| @ActivationConfigProperty(propertyName = "acknowledgeMode",
propertyValue = "Auto-acknowledge") })
| public class MDB1 implements MessageListener {
| ...
| }
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241851#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...