As far as I know you can't. There is nothing in JMS API that would allow you to accomplish this. Those two properties are server side properties so they can only be manipulated by admin sort of API (if one existed).
Tom
Reply to this message by going to Community
Start a new discussion in JBoss Messaging at Community