#### To create a JMS host

The Application Server expects only one JMS host to exist, whose default name is `default_JMS_host`. It is possible to create additional hosts, but the Application Server has no way of knowing about them.

1. In the tree component, expand the Configurations node.
2. Select the instance to configure:
   - To configure a particular instance, select the instance’s config node. For example, for the default instance, `server`, select the `server-config` node.
   - To configure the default settings for future instances that use a copy of `default-config`, select the `default-config` node.
3. Expand the Java Message Service node.
4. Select the JMS Hosts node.
5. On the JMS Hosts page, click New. The Create JMS Host page appears.
6. In the Name field, type the name of the host. For example:

       NewJmsHost

7. In the Host field, type the name or Internet Protocol (IP) address of the system where the JMS host will run (`localhost` or the name of the local or remote system).
8. In the Port field, type the port number of the JMS service.

   Change this field only if the JMS service to be used is running on a non-default port. (The default port is 7676.)

9. In the Admin Username and Admin Password fields, type the Message Queue broker user name and password.

   These are different from the Application Server user name and password. Edit these fields only if the Message Queue broker values have been changed using the MQ-as-install`/imq/bin/imqusermgr` command. The default values are `admin` and `admin`.

10. Click OK.

######

###### More Information

Equivalent asadmin command

`create-jms-host`

###### See Also

- To edit a JMS host

- To delete a JMS host

- To configure general properties for the JMS provider