activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nervousbadger <>
Subject ActiveMQ Session Task thread name
Date Tue, 27 Jul 2010 14:38:38 GMT

Hi there,

We are using ActiveMQ v5.3.1. We have multiple sessions per connection, each
processing incoming messages. The problem we have is that each session
dispatch thread has the same name - "ActiveMQ Session Task". We would like
each thread to have a unique name to aid debugging using our application log

Looking at the code for ActiveMQConnection, I can see:

public TaskRunnerFactory getSessionTaskRunner() {
    synchronized (this) {
        if (sessionTaskRunner == null) {
            sessionTaskRunner = new TaskRunnerFactory("ActiveMQ Session
Task", ThreadPriorities.INBOUND_CLIENT_SESSION, false, 1000,
    return sessionTaskRunner;

So it looks like I can't configure this. Is there a way to do this, or will
I need to patch the code?


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message