Chapter 13 Using jagtool and jagant


jmscreate

Description

Creates a JMS entity.

Syntax

Command line:

jmscreate entity [file]

Ant build file:

<jag_jmscreate entity="entity" [ file="file" ] />

Option Description Default Required
entity The entity to create, in the form EntityType:EntityName . Valid entity types are:
  • MessageQueue
  • MessageTopic
  • QueueConnectionFactory
  • ThreadPool
  • TopicConnectionFactory
- Yes
file An optional file containing properties for the entity. The file must specify properties in the form of an EAServer repository properties file. You can set properties after the entity exists with the jmsset_props command. - No

Examples

This example uses the command line to create a message queue named MyQueue and specifies a properties file:

jagtool jmscreate MessageQueue:MyQueue D:\Jag41005\sample\jagtool\queueprops.txt

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

<jag_jmscreate entity="MessageQueue:AntQueue" file="D:\Jag41005\sample\jagtool\queueprops.txt" />

See Also

jmsdelete, jmslist, jmsprops, jmsset_props

"Permanent destinations" describes properties for message queues and message topics.

"Connection factories" describes properties for queue connection factories and topic connection factories.

"Thread pools" describes thread pool properties.

 


Copyright © 2002 Sybase, Inc. All rights reserved.