Creates a JMS entity.
jmscreate connect-args entity [file]
<jag_jmscreate entity=”entity” [ file=”file” ] />
Option |
Description |
Required |
---|---|---|
connect-args |
Arguments to specify a connection to the server. See “Using connected mode”. |
Yes |
entity |
The entity to create, in the form
|
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 |
Return value |
Indicates |
---|---|
0 |
The command ran successfully; the result is true/success. |
2 |
The command did not run successfully; an exception was thrown. |
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" />
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 © 2005. Sybase Inc. All rights reserved. |