JBM Message Expiration does not work
Issue
JBM Message Expiration does not work.
There is nothing to configure the default TTL on the server side, the only way you can do is via JMS API:
javax.jms.MessageProducer;
MessageProducer msgProducer = null;
session = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);
msgProducer = session.createProducer(responseQ);
msgProducer.setTimeToLive(Long.valueOf(messageTtl));
However, the messages remain on the given destination beyond the time set to expire.
Environment
- Red Hat JBoss Enterprise Application Platform
- 4.3.x
- Red Hat JBoss Enterprise Application Platform
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.