Broker 10.5 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | webMethods Messaging Administration | JMSAdmin Command Reference | JMSAdmin Command Descriptions | Copy
 
Copy
Copies an administered object to another context.
Syntax
{ copy | cp } { lookup-name | * } to context-name
Remarks
You can specify lookup-name (the name of the source object) and context-name (the name of the target context) using relative or absolute paths. The specified target context must already exist. If an object with the same name as the source object already exists in context-name, JMSAdmin issues an error message.
You can use the wildcard character (*) as a way to copy all webMethods defined objects or strings bound into a context to another context.
Example
Copy the object nTopic3 to the context /sub4:
\> copy nTopic3 to /sub4
Related Commands
Move