The service configuration MBean has the attributes shown in Table 3–8. The names of these attributes are defined as static constants in the utility class ServiceAttributes.
Table 3–8 Service Configuration Attributes
Name |
Type |
Settable? |
Description |
---|---|---|---|
String |
No |
Service name See Table 3–7 for possible values. |
|
Integer |
Yes |
Port number (jms, ssljms, admin, and ssladmin services only) A value of 0 specifies that the port is to be dynamically allocated by the Port Mapper; to learn the actual port currently used by the service, use the Port attribute of the service monitor MBean. |
|
Integer |
Yes |
Minimum number of threads assigned to service Must be greater than 0. |
|
Integer |
Yes |
Maximum number of threads assigned to service Must be greater than or equal to MinThreads. |
|
String |
No |
Threading model for thread pool management: dedicated: Two dedicated threads per connection, one for incoming and one for outgoing messages shared: Connections processed by shared thread when sending or receiving messages (jms and admin services only) |