When you publish a message to a topic, you can specify the DISCARDABLE delivery mode. If you do and the destination message queue is full, the message is automatically discarded.
You can specify the DISCARDABLE delivery mode in the following methods:
setDefaultPersistency
publish
For more information on discardable messages, see the reference entries for these methods in OpenEdge Development: Messaging and ESB.
For more information on maximizing performance, refer to SonicMQ Performance Tuning Guide.