I am trying to use both InheritableThreadLocal and a ThreadPoolExecutor.
InheritableThreadLocal
ThreadPoolExecutor
This breaks down because ThreadPoolExecutor reuses th
Why not just pass the current connection on to any sub-tasks spawned by the main task? maybe some sort of shared Context object?