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, Apache ActiveMQ, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. Copyright © 2023, The Apache Software Foundation. Licensed under Apache License 2.0.