[ https://issues.apache.org/activemq/browse/CAMEL-2847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60241#action_60241 ]
Karl Palsson commented on CAMEL-2847: ------------------------------------- In the meantime, here's how to change the naming via the java DSL {code} class blah extends RouteBuilder { public void configure() { // other routes go here... getContext().getExecutorServiceStrategy().setThreadNamePattern("some thread prefix ${counter}"); } } {code} > Thread Name Syntax - Do not output endpoint parameters to be less verbose > ------------------------------------------------------------------------- > > Key: CAMEL-2847 > URL: https://issues.apache.org/activemq/browse/CAMEL-2847 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core > Affects Versions: 2.3.0 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.4.0 > > > By default thread names from consumers have the endpoint uri in the name, but > those can become long > {code} > Camel Thread 1 - > ftp://sm...@localhost:2121/autreq/err?delay=5000&filter=%23conaxRequestFilter&move=.processed&passiveMode=true&password=sms01] > {code} > So we should change {$name} to be just the endpoint without all the > parameters. Eg clip after the first ? so it becomes > {code} > Camel Thread 1 - ftp://sm...@localhost:2121/autreq/err] > {code} > So we should change it to be > - ${name} the new short handed syntax > - ${fullName} as now with everything -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.