Global JMS refactoring and debugging