Use your own custom thread factory. Implement a ThreadFactoryBuilder to create you custom thread factories that allows you to do the following:
- Have custom thread names
- Have choice of threads - User or Daemon threads
- Have choice of Thread Priority
- Have flexibility to set uncaught exception handlers
You have a sample ThreadFactoryBuilder implementation in the following post which you can use.
http://wilddiary.com/understanding-java-threadfactory-creating-custom-thread-factories/