We're using JBoss 5.1.0 and its standard message queue component. On deployment we create some queues via -service.xml files like so:
It seems that the default ExpiryQueue is always set to "ExpiryQueue" of JBoss. When messages expire, they are moved to that queue. Now
my question is, how can I disable it so the messages get simply dropped? Until 4.0.4 this seemed the default behavior - AFAIK. Setting ExpiryQueue to an empty string doesn't seem to do the trick - an error concerning mandatory occurs then. Any hints?
Also there seems the problem that messages get only expired, when a consumer is listening on the queue. Can this be automated with jboss messaging that comes with JBoss 5.1.0?
Thanks in advance.
Hm, read somewhere that one can omit the defaultExpiryQueue on the ServerPeer.
But can this be done without changing the Jboss default queue settings?