<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!ENTITY metainfo SYSTEM "metainfo.sgm">
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY Dash "&ndash;">
]>
<?Pub UDT _bookmark _target>
<?Pub EntList brvbar bull cross dash diam diams frac12 frac13 frac14 hellip
 laquo lArr loz mdash nabla ndash para pound rArr raquo sect yen ne>
<?Pub Inc>
<refentry id="delete-jmsdest-1">
<refmeta><refentrytitle>delete-jmsdest</refentrytitle><manvolnum>1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="delete-jmsdest ">delete-jmsdest &mdash;
removes a JMS physical destination</primary></indexterm><indexterm><primary
sortas="removes the named JMS physical destination"><?Pub Caret>removes a
JMS physical destination &mdash; delete-jmsdest</primary></indexterm><refname>
delete-jmsdest</refname><refpurpose>removes a JMS destination</refpurpose>
</refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>delete-jmsdest</command>&synopsis-common;
<arg>&Dash;&Dash;target <replaceable>target</replaceable></arg><arg choice="plain">&Dash;&Dash;desttype <replaceable>
type</replaceable></arg><arg choice="plain"><replaceable>dest_name</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>The <command>delete-jmsdest</command> command removes the specified
JMS destination. This command is supported in remote mode only.</para>
</refsect1>
<refsect1><title>&opts-tt;</title>
<variablelist termlength="medium">&options-common;
<varlistentry><term><option role="nodash">&Dash;&Dash;target</option></term>
<listitem><para>This option helps specify the target from which you are deleting
the physical destination. Although the <command>delete-jmsdest</command> command
is related to resources, a physical destination is created and deleted using
the JMS Service, which is part of the configuration. Valid values are:<itemizedlist>
<listitem><para><literal>server</literal>, which deletes the physical destination
from the default server instance. This is the default value.</para>
</listitem>
<listitem><para><replaceable>configuration_name</replaceable>, which deletes
the physical destination from the named configuration</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which deletes the
physical destination from every server instance in the cluster</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which deletes the
physical destination from a particular server instance</para>
</listitem>
</itemizedlist>&se-ee-only;</para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;T</option> <option role="nodash">&Dash;&Dash;desttype
</option></term><listitem><para>The type of the JMS destination. Valid values
are <filename>topic</filename> and <filename>queue</filename>.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&oper-tt;</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>dest_name</replaceable></term><listitem>
<para>The unique identifier of the JMS destination to be deleted.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using the delete-jmsdest command</title>
<para>The following command deletes the queue named <literal>PhysicalQueue
</literal>:</para>
<screen>asadmin> <userinput>delete-jmsdest --user admin --passwordfile passwords.txt 
--host localhost --port 4848 --desttype queue PhysicalQueue</userinput>
Command delete-jmsdest executed successfully.</screen>
</example>
</refsect1>
<refsect1><title>&exit-tt;</title>
<variablelist termlength="medium">
<varlistentry><term>0</term><listitem><para>command executed successfully
</para>
</listitem></varlistentry>
<varlistentry><term>1</term><listitem><para>error in executing the command
</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&also-tt;</title>
<para><link linkend="create-jmsdest-1"><citerefentry><refentrytitle>create-jmsdest
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link linkend="list-jmsdest-1"><citerefentry>
<refentrytitle>list-jmsdest</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000004537>
