[ https://issues.apache.org/jira/browse/QPIDJMS-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16015727#comment-16015727 ]
Jiri Danek commented on QPIDJMS-286: ------------------------------------ I could not reproduce the original problem for myself. As far as I can tell, when {{JmsConnectionFactory.remoteURI}} is set in JmsConnectionFactory#setRemoteURI, these configuration options are stripped at line [1]. So even with qpid-jms 0.21.0 I only see a short thread name like {{AmqpProvider:(1):[amqp://127.0.0.1:5672]}}. [1] https://github.com/apache/qpid-jms/blob/0.21.0/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsConnectionFactory.java#L396 My reproducer (in Kotlin) {noformat} @Test fun QPIDJMS286() { val f = org.apache.qpid.jms.JmsConnectionFactory("amqp://127.0.0.1:5672?jms.username=anUserName&jms.password=aPassword&jms.queuePrefix=true") val c = f.createConnection() val s = c.createSession() val threadSet = Thread.getAllStackTraces().keys threadSet.forEach { println(it.name) } } {noformat} prints {noformat} Signal Dispatcher Reference Handler main Finalizer Monitor Ctrl-Break threadDeathWatcher-3-1 QpidJMS Connection Executor: ID:7e4233ab-9a64-4c78-9f33-d843d859332b:1 nioEventLoopGroup-2-1 AmqpProvider:(1):[amqp://127.0.0.1:5672] {noformat} > Shorten the thread name given to the AmqpProvider executor thread > ----------------------------------------------------------------- > > Key: QPIDJMS-286 > URL: https://issues.apache.org/jira/browse/QPIDJMS-286 > Project: Qpid JMS > Issue Type: Improvement > Components: qpid-jms-client > Affects Versions: 0.21.0 > Reporter: Timothy Bish > Assignee: Timothy Bish > Fix For: 0.22.0 > > > The executor thread in the AmqpProdiver class creates an overly long thread > name using the URI with all the configuration options. This name really only > needs reflect the host and port the provider was created to connect to. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org