But this was not adequate enough because it uses the FilestateManager which requires the jboss-mq-state.xml for security which i don't want.
No it does not. Where does it say that?
The state/security service are entirely independent from the persistence/caching.
Are you sure it isn't telling you that most people that want to remove jdbc persistence
also want to remove jdbc state management?
And the best way to turn off persistence is to NOT send persistent messages.
I tried to follow the:
instructions but maybe i took it to litteral. But everytime i tried to do just a part of the instruction, JBoss threw an exception.
But you were right, Spring provides a boolean value for it's jmsTemplate.