I am using JBoss 5.1.0 GA and jboss messaging 1.4. I have configured the ServerPeer with the default settings (ie) DefaultExpiryQueue is pointing to jboss.messaging.destination:service=Queue,name=ExpiryQueue.
But, for some of the programmatically created topics I want to disable the ExpiryQueue (ie) I don't want the expired PERSISTENT messages on this topics to be moved to ExpiryQueue.
Is it possible to configure?? Please help me.
JBM will always use defaultExpiryQueue if a destination's expiry queue attribute is not specified.
To meet your need, you can omit the defaultExpiryQueue from ServerPeer configure, and create each Topic with specific expiryQueue needs.