Chapter 13 Using jagtool and jagant


jmsdelete

Description

Deletes the specified entity.

Syntax

Command line:

jmsdelete entity

Ant build file:

<jag_jmsdelete entity="entity" />

Option Description Default Required
entity The entity to delete, in the form EntityType:EntityName . Valid entity types are:
  • MessageQueue
  • MessageTopic
  • QueueConnectionFactory
  • ThreadPool
  • TopicConnectionFactory


If the entity is a message queue, this operation removes any listeners and selectors, and receives and acknowledges all queued messages for the message queue.
- Yes

Examples

This command-line example deletes the message queue MyQueue:

jagtool jmsdelete MessageQueue:MyQueue

This example does the same thing in a Ant build file:

<jag_jmsdelete entity="MessageQueue:MyQueue" />

 


Copyright © 2002 Sybase, Inc. All rights reserved.