13.2 Disabling DMQ on the message level
An application can disable the DMQ function on a 'per message' basis by invoking the API, below, on a message prior to sending the message.
CODE
public void setStoreWhenDead(boolean value)
throws FioranoException
Since this is a proprietary API, using it requires that the application include the import statements below:
CODE
import fiorano.jms.services.msg.def.FioranoMessage;
import fiorano.jms.common.FioranoException;
This API is effective only when the DMQ is enabled. If DMQ is not enabled, using this API with the boolean value set to true will not have any effect.