Connectors can submit work instances to the GlassFish Server for execution. By default, the GlassFish Server services work requests for all connectors from its default thread pool. However, you can associate a specific user-created thread pool to service work requests from a connector. A thread pool can service work requests from multiple resource adapters. To create a thread pool:
Use the asadmin create-threadpool command. For details, see the Oracle GlassFish Server 3.0.1 Reference Manual.
To associate a connector with a thread pool:
In the Administration Console, open the Applications component and select Resource Adapter Configs. Specify the name of the thread pool in the Thread Pool ID field. For details, click the Help button in the Administration Console.
Use the ----threadpoolid option of the asadmin create-resource-adapter-config command. For details, see the Oracle GlassFish Server 3.0.1 Reference Manual.
If you create a resource adapter configuration for a connector module that is already deployed, the connector module deployment is restarted with the new configuration properties.