I want to change mina NioProcessor thread names because when I print thread names using log4j, they aren't very meaningful to me (e.g. NioProcessor-36, NioProcessor-42) especially when there are multiple Processors around. Is it possible?
How to change Mina NioProcessor thread names
994 views Asked by Ricardo Cristian Ramirez At
1
Below solution offers custom thread names after NioProcessor threads.
Create an executor filter like below
If you already have an executor filter, then you will just give a thread factory as parameter.