-
1. How can I configure JBoss Application server to make queue messages persistent?
wdfink Feb 15, 2011 6:59 PM (in response to logan_gha)If you using 4.2 you should have the JMS configuration in deploy-hasingleton (Its JBoss-MQ)
Look into the docs/examples/.../jms directory to see some example files for different persistences.
Does it help?
-
2. How can I configure JBoss Application server to make queue messages persistent?
logan_gha Feb 17, 2011 11:06 AM (in response to wdfink)Thanks for your immediate response, I appreciate that.
What I have found out is that magic to make a message can be persistent has to do with DeliveryMode property. By default, Message interface (package javax.jms) uses Persistent as value for this property.
public static final int DEFAULT_DELIVERY_MODE = 2;
However what I would want to know was if it were possible through Application server JBoss configuration to make message can be persistent, even though a client application sends message by setting DeliveryMode property to NON_PERSISTENT (value 1).
Sorry for my poor knowledge of this approach.