The JMS Service configuration is available to all inbound and outbound connections pertaining to the Enterprise Server cluster or instance. You can edit the JMS Service configuration in the following ways:
To edit the JMS Service configuration using the Admin Console, open the Java Message Service component under the relevant configuration. For details, click the Help button in the Admin Console.
To configure the JMS service, use the asadmin set command to set the following attributes:
server.jms-service.init-timeout-in-seconds = 60 server.jms-service.type = EMBEDDED server.jms-service.start-args = server.jms-service.default-jms-host = default_JMS_host server.jms-service.reconnect-interval-in-seconds = 60 server.jms-service.reconnect-attempts = 3 server.jms-service.reconnect-enabled = true server.jms-service.addresslist-behavior = random server.jms-service.addresslist-iterations = 3 server.jms-service.mq-scheme = mq server.jms-service.mq-service = jms
You can also set these properties:
server.jms-service.property.instance-name = imqbroker server.jms-service.property.instance-name-suffix = server.jms-service.property.append-version = false server.jms-service.property.user-name = server.jms-service.property.password =
You can use the asadmin get command to list all the JMS service attributes and properties. For details, see the Sun GlassFish Enterprise Server 2.1 Reference Manual.
You can override the JMS Service configuration using JMS connection factory settings. For details, see Chapter 4, Configuring Java Message Service Resources, in Sun GlassFish Enterprise Server 2.1 Administration Guide.
The Enterprise Server instance must be restarted after configuration of the JMS Service.