reduce number and size of JMS messages