How do I set the message expiration

 FAQ > Using Apache ActiveMQ > How do I set the message expiration

JMSExpiration on a message is set by the MessageProducer in JMS - either via

Apache ActiveMQ, ActiveMQ, ActiveMQ Artemis, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. Copyright © 2019, The Apache Software Foundation. Licensed under Apache License 2.0.