I am new to jboss and I wanted to know how to configure the number of threads on jboss so that I can do performance measurements for my code. I have written an application using Message Driven Beans. So I have one component (deployed as a jar file) that reads the message from the queue and another component ( deployed as a war file) that produces that message. I want to run multiple simultaneous threads for these components. Could someone tell me how I can configure the number of threads for each component please? I am using JBoss AS 7 and also using the JBoss Management Console.