If you send a message as non persistent (DeliveryMode.NON_PERSISTENT) then it won't get persisted.
If you don't control over this, them there's not much you can do currently.
There is a task scheduled for this for JBM2.0 http://jira.jboss.com/jira/browse/JBMESSAGING-381
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066399#4066399
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066399
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user