This content has been marked as final. Show 3 replies
I don't think that you can turn it off. I wanted to do the same thing, and I was told by JBoss that there is no concept of a NULL persistence manager. I don't know why it still goes to the database even if you set your message to not be persisted.
There was a persistence manager that didn't do anything. It was checked into the 3_2 branch but for some reason never tagged and released as any distribution.
What I would do would be to D/L this class, modify it (if you want to), compile it, and configure to use it in the appropriate service.xml file.
The null persistence manager referred to by genman lets you turn off persistence
(and caching if you like).
It is only in jboss-3.2.4 (as yet unreleased)
You can get it from a source snapshot or cvs