List the JMS hosts by using the list-jms-hosts(1) subcommand.
Use the set(1) subcommand to modify a JMS host.
This example changes the value of the host attribute of the default JMS host. By default this value is localhost.
asadmin> set server-config.jms-service.jms-host.default_JMS_host.host= "archie.india.sun.com"
You can also view the full syntax and options of the subcommand by typing asadmin help set at the command line.