Skip to content

Commit

Permalink
codegen admin command to remove a domain
Browse files Browse the repository at this point in the history
Signed-off-by: Emelia Lei <[email protected]>
  • Loading branch information
emelialei88 committed Dec 9, 2024
1 parent 1739af0 commit fcb9905
Show file tree
Hide file tree
Showing 4 changed files with 39,395 additions and 35,215 deletions.
3 changes: 2 additions & 1 deletion src/groups/mqb/mqbcmd/mqbcmd.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<element name='encoding' type='tns:EncodingFormat' default='TEXT'/>
</sequence>
</complexType>

<simpleType name='EncodingFormat'>
<annotation>
<documentation>
Expand Down Expand Up @@ -306,6 +306,7 @@
<complexType name="DomainCommand">
<choice>
<element name="purge" type="tns:Void"/>
<element name="remove" type="tns:Void"/>
<element name="info" type="tns:Void"/>
<element name="queue" type="tns:DomainQueue"/>
</choice>
Expand Down
3 changes: 3 additions & 0 deletions src/groups/mqb/mqbcmd/mqbcmd_commandlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ struct CommandDefinition {
{"DOMAINS DOMAIN <name> PURGE",
"Purge all queues in domain 'name'",
"Purge all queues in domain 'name'"},
{"DOMAINS DOMAIN <name> REMOVE",
"Reject all incoming connections to all queues in domain 'name'",
"and purge them from the domain"},
{"DOMAINS DOMAIN <name> INFOS",
"Show information about domain 'name' and its queues",
"Show information about domain 'name' and its queues"},
Expand Down
Loading

0 comments on commit fcb9905

Please sign in to comment.