I just had a quick look at the thread DSL, and found it doesn't provide the thread method that you want, and the thread() with the parameter doesn't add the output of the new created ThreadDefinition which is definitely wrong.
I created a JIRA and will submit a quick fix for it.
looking forward for extra methods
There is methods to do this already
from("direct:foo") // using the builder style .threads().poolSize(5).maxPoolSize(10).threadName("myPool") .to("mock:result");
yes, it works - thanks.
Any reasons this new Name isn't shown in JConsole / JMX under Camel Pools?
It's shown as threads# and only Policy name attribute is shown as that set Name.
I see that new name is appended Ok in YourKit and in Eclipse Debugger.
what kind of the camel thread pool that you are using?
Maybe you can send us a picture of your JMX console.