Tocreate a physical destination from the Admin Console, select Conguration >Physical
Destinations.In the Create Physical Destinations page, specify a name for the physical
destinationand choose the type of destination, which can be topic or queue. For more details
aboutthe elds and properties in the Physical Destinations page, refer the Admin Console
OnlineHelp.
Forproduction purposes, always create physical destinations. During the development and
testingphase, however, this step is not required. The rst time an application accesses a
destinationresource, Message Queue automatically creates the physical destination specied by
theName property of the destination resource. The physical destination is temporary and
expiresafter a period specied by a Message Queue conguration property.
Tomanage JMS physical destinations using the command-line utility, use create-jmsdest,
flush-jmsdest,ordelete-jmsdestcommand.
ConguringJMS Provider Properties
Usethe JMS Service page in the Admin Console to congure properties to be used by all JMS
connections.In the Admin Console, select Congurations >Java Message Service. In the JMS
Servicepage, you can control the following general JMS settings.
SelectStartup Timeout interval, which indicates the time that Enterprise Server waits for the
JMSservice to start before aborting the startup.
SelectJMS Service type, which decides whether you manage a JMS Service on a local or a
remotehost.
SpecifyStart Arguments to customize the JMS service startup.
SelectReconnect checkbox to specify whether the JMS service attempts to reconnect to a
messageserver (or the list of addresses in the AddressList) when a connection is lost.
SpecifyReconnect Interval in terms of number of seconds. This applies for attempts on each
addressin the AddressList and for successive addresses in the list. If it is too short, this time
intervaldoes not give a broker time to recover. If it is too long, the reconnect might
representan unacceptable delay.
Specifythe number of reconnect attempts. In the eld, type the number of attempts to
connect(or reconnect) for each address in the AddressList before the client runtime tries
thenext address in the list.
Choosethe default JMS host.
Inthe Address List Behavior drop-down list, choose whether connection attempts are in the
orderof addresses in the AddressList (priority) or in a random order (random).
Inthe Address List Iterations eld, type the number of times the JMS service iterates
throughthe AddressList in an eort to establish (or reestablish) a connection.
ConguringJMSProvider Properties
SunGlassFishEnterprise Ser ver2.1 Administration Guide • December 200866