jboss-as-messaging_1_1.xsd 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ JBoss, Home of Professional Open Source.
  4. ~ Copyright 2011, Red Hat, Inc., and individual contributors
  5. ~ as indicated by the @author tags. See the copyright.txt file in the
  6. ~ distribution for a full listing of individual contributors.
  7. ~
  8. ~ This is free software; you can redistribute it and/or modify it
  9. ~ under the terms of the GNU Lesser General Public License as
  10. ~ published by the Free Software Foundation; either version 2.1 of
  11. ~ the License, or (at your option) any later version.
  12. ~
  13. ~ This software is distributed in the hope that it will be useful,
  14. ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. ~ Lesser General Public License for more details.
  17. ~
  18. ~ You should have received a copy of the GNU Lesser General Public
  19. ~ License along with this software; if not, write to the Free
  20. ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  21. ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  22. -->
  23. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  24. xmlns="urn:jboss:domain:messaging:1.1"
  25. targetNamespace="urn:jboss:domain:messaging:1.1"
  26. elementFormDefault="qualified"
  27. attributeFormDefault="unqualified"
  28. version="1.1">
  29. <!-- The messaging subsystem root element -->
  30. <xs:element name="subsystem">
  31. <xs:annotation>
  32. <xs:documentation>
  33. <![CDATA[
  34. The configuration of the messaging subsystem.
  35. ]]>
  36. </xs:documentation>
  37. </xs:annotation>
  38. <xs:complexType>
  39. <xs:sequence>
  40. <xs:element maxOccurs="unbounded" minOccurs="0" name="hornetq-server" type="hornetq-serverType" />
  41. </xs:sequence>
  42. </xs:complexType>
  43. </xs:element>
  44. <xs:complexType name="hornetq-serverType">
  45. <xs:annotation>
  46. <xs:documentation>
  47. <![CDATA[
  48. The configuration of an individual HornetQ Server.
  49. ]]>
  50. </xs:documentation>
  51. </xs:annotation>
  52. <xs:all>
  53. <xs:element maxOccurs="1" minOccurs="0" name="clustered" type="xs:boolean" />
  54. <!-- no file system deployment in AS
  55. <xs:element maxOccurs="1" minOccurs="0" type="file-deployment-enabled"/>
  56. -->
  57. <xs:element maxOccurs="1" minOccurs="0" name="persistence-enabled" type="xs:boolean" />
  58. <!-- TODO use thread subsystem? -->
  59. <xs:element maxOccurs="1" minOccurs="0" name="scheduled-thread-pool-max-size" type="xs:int">
  60. <xs:annotation>
  61. <xs:documentation>
  62. Maximum number of threads to use for the scheduled thread pool
  63. </xs:documentation>
  64. </xs:annotation>
  65. </xs:element>
  66. <xs:element maxOccurs="1" minOccurs="0" name="thread-pool-max-size" type="xs:int">
  67. <xs:annotation>
  68. <xs:documentation>
  69. Maximum number of threads to use for the thread pool
  70. </xs:documentation>
  71. </xs:annotation>
  72. </xs:element>
  73. <xs:element maxOccurs="1" minOccurs="0" name="security-domain" type="xs:string" />
  74. <xs:element maxOccurs="1" minOccurs="0" name="security-enabled" type="xs:boolean" />
  75. <xs:element maxOccurs="1" minOccurs="0" name="security-invalidation-interval" type="xs:long" />
  76. <xs:element maxOccurs="1" minOccurs="0" name="wild-card-routing-enabled" type="xs:boolean" />
  77. <xs:element maxOccurs="1" minOccurs="0" name="management-address" type="xs:string" />
  78. <xs:element maxOccurs="1" minOccurs="0" name="management-notification-address" type="xs:string" />
  79. <xs:element maxOccurs="1" minOccurs="0" name="cluster-user" type="xs:string" />
  80. <xs:element maxOccurs="1" minOccurs="0" name="cluster-password" type="xs:string" />
  81. <!-- no logging configuration for AS needed
  82. <xs:element maxOccurs="1" minOccurs="0" name="log-delegate-factory-class-name" type="xs:string" />
  83. -->
  84. <xs:element maxOccurs="1" minOccurs="0" name="jmx-management-enabled" type="xs:boolean" />
  85. <xs:element maxOccurs="1" minOccurs="0" name="jmx-domain" type="xs:string" />
  86. <xs:element maxOccurs="1" minOccurs="0" name="message-counter-enabled" type="xs:boolean" />
  87. <xs:element maxOccurs="1" minOccurs="0" name="message-counter-sample-period" type="xs:long" />
  88. <xs:element maxOccurs="1" minOccurs="0" name="message-counter-max-day-history" type="xs:int" />
  89. <xs:element maxOccurs="1" minOccurs="0" name="connection-ttl-override" type="xs:long" />
  90. <xs:element maxOccurs="1" minOccurs="0" name="async-connection-execution-enabled" type="xs:boolean" />
  91. <xs:element maxOccurs="1" minOccurs="0" name="transaction-timeout" type="xs:long" />
  92. <xs:element maxOccurs="1" minOccurs="0" name="transaction-timeout-scan-period" type="xs:long" />
  93. <xs:element maxOccurs="1" minOccurs="0" name="message-expiry-scan-period" type="xs:long" />
  94. <xs:element maxOccurs="1" minOccurs="0" name="message-expiry-thread-priority" type="xs:int" />
  95. <xs:element maxOccurs="1" minOccurs="0" name="id-cache-size" type="xs:int" />
  96. <xs:element maxOccurs="1" minOccurs="0" name="persist-id-cache" type="xs:boolean" />
  97. <xs:element maxOccurs="1" minOccurs="0" name="remoting-interceptors" type="remoting-interceptorsType" />
  98. <xs:element maxOccurs="1" minOccurs="0" name="backup" type="xs:boolean" />
  99. <xs:element maxOccurs="1" minOccurs="0" name="allow-failback" type="xs:boolean" />
  100. <xs:element maxOccurs="1" minOccurs="0" name="failback-delay" type="xs:long" />
  101. <xs:element maxOccurs="1" minOccurs="0" name="failover-on-shutdown" type="xs:boolean" />
  102. <xs:element maxOccurs="1" minOccurs="0" name="shared-store" type="xs:boolean" />
  103. <xs:element maxOccurs="1" minOccurs="0" name="persist-delivery-count-before-delivery" type="xs:boolean" />
  104. <xs:element maxOccurs="1" minOccurs="0" name="live-connector-ref" type="live-connectorType" />
  105. <xs:element maxOccurs="1" minOccurs="0" name="create-bindings-dir" type="xs:boolean" />
  106. <xs:element maxOccurs="1" minOccurs="0" name="create-journal-dir" type="xs:boolean" />
  107. <xs:element maxOccurs="1" minOccurs="0" name="journal-type" type="journalType" />
  108. <xs:element maxOccurs="1" minOccurs="0" name="journal-buffer-timeout" type="xs:long" />
  109. <xs:element maxOccurs="1" minOccurs="0" name="journal-buffer-size" type="xs:long" />
  110. <xs:element maxOccurs="1" minOccurs="0" name="journal-sync-transactional" type="xs:boolean" />
  111. <xs:element maxOccurs="1" minOccurs="0" name="journal-sync-non-transactional" type="xs:boolean" />
  112. <xs:element maxOccurs="1" minOccurs="0" name="log-journal-write-rate" type="xs:boolean" />
  113. <xs:element maxOccurs="1" minOccurs="0" name="journal-file-size" type="xs:long" />
  114. <xs:element maxOccurs="1" minOccurs="0" name="journal-min-files" type="xs:int" />
  115. <xs:element maxOccurs="1" minOccurs="0" name="journal-compact-percentage" type="xs:int" />
  116. <xs:element maxOccurs="1" minOccurs="0" name="journal-compact-min-files" type="xs:int" />
  117. <xs:element maxOccurs="1" minOccurs="0" name="journal-max-io" type="xs:int" />
  118. <xs:element maxOccurs="1" minOccurs="0" name="perf-blast-pages" type="xs:int" />
  119. <xs:element maxOccurs="1" minOccurs="0" name="run-sync-speed-test" type="xs:boolean" />
  120. <xs:element maxOccurs="1" minOccurs="0" name="server-dump-interval" type="xs:long" />
  121. <xs:element maxOccurs="1" minOccurs="0" name="memory-warning-threshold" type="xs:int" />
  122. <xs:element maxOccurs="1" minOccurs="0" name="memory-measure-interval" type="xs:long" />
  123. <xs:element maxOccurs="1" minOccurs="0" name="paging-directory" type="directoryType" />
  124. <xs:element maxOccurs="1" minOccurs="0" name="bindings-directory" type="directoryType" />
  125. <xs:element maxOccurs="1" minOccurs="0" name="journal-directory" type="directoryType" />
  126. <xs:element maxOccurs="1" minOccurs="0" name="large-messages-directory" type="directoryType" />
  127. <xs:element maxOccurs="1" minOccurs="0" name="connectors">
  128. <xs:complexType>
  129. <xs:sequence>
  130. <xs:element maxOccurs="unbounded" minOccurs="0" name="netty-connector" type="netty-connectorType" />
  131. <xs:element maxOccurs="unbounded" minOccurs="0" name="in-vm-connector" type="inVM-connectorType" />
  132. <xs:element maxOccurs="unbounded" minOccurs="0" name="connector" type="connectorType" />
  133. </xs:sequence>
  134. </xs:complexType>
  135. </xs:element>
  136. <xs:element maxOccurs="1" minOccurs="0" name="acceptors">
  137. <xs:complexType>
  138. <xs:sequence>
  139. <xs:element maxOccurs="unbounded" minOccurs="0" name="netty-acceptor" type="netty-acceptorType" />
  140. <xs:element maxOccurs="unbounded" minOccurs="0" name="in-vm-acceptor" type="inVM-acceptorType" />
  141. <xs:element maxOccurs="unbounded" minOccurs="0" name="acceptor" type="acceptorType" />
  142. </xs:sequence>
  143. </xs:complexType>
  144. </xs:element>
  145. <xs:element maxOccurs="1" minOccurs="0" name="broadcast-groups">
  146. <xs:complexType>
  147. <xs:sequence>
  148. <xs:element maxOccurs="unbounded" minOccurs="0" name="broadcast-group" type="broadcast-groupType" />
  149. </xs:sequence>
  150. </xs:complexType>
  151. </xs:element>
  152. <xs:element maxOccurs="1" minOccurs="0" name="discovery-groups">
  153. <xs:complexType>
  154. <xs:sequence>
  155. <xs:element maxOccurs="unbounded" minOccurs="0" name="discovery-group" type="discovery-groupType" />
  156. </xs:sequence>
  157. </xs:complexType>
  158. </xs:element>
  159. <xs:element maxOccurs="1" minOccurs="0" name="diverts">
  160. <xs:complexType>
  161. <xs:sequence>
  162. <xs:element maxOccurs="unbounded" minOccurs="0" name="divert" type="divertType" />
  163. </xs:sequence>
  164. </xs:complexType>
  165. </xs:element>
  166. <xs:element maxOccurs="1" minOccurs="0" name="core-queues" type="queuesType" />
  167. <xs:element maxOccurs="1" minOccurs="0" name="bridges">
  168. <xs:complexType>
  169. <xs:sequence>
  170. <xs:element maxOccurs="unbounded" minOccurs="0" name="bridge" type="bridgeType" />
  171. </xs:sequence>
  172. </xs:complexType>
  173. </xs:element>
  174. <xs:element maxOccurs="1" minOccurs="0" name="cluster-connections">
  175. <xs:complexType>
  176. <xs:sequence>
  177. <xs:element maxOccurs="unbounded" minOccurs="0" name="cluster-connection" type="clusterConnectionType" />
  178. </xs:sequence>
  179. </xs:complexType>
  180. </xs:element>
  181. <xs:element maxOccurs="1" minOccurs="0" name="grouping-handler" type="groupingHandlerType" />
  182. <xs:element maxOccurs="1" minOccurs="0" name="security-settings" type="security-settingsType" />
  183. <xs:element maxOccurs="1" minOccurs="0" name="address-settings" type="address-settingsType" />
  184. <xs:element maxOccurs="1" minOccurs="0" name="connector-services">
  185. <xs:complexType>
  186. <xs:sequence>
  187. <xs:element maxOccurs="unbounded" minOccurs="0" name="connector-service" type="connectorServiceType"/>
  188. </xs:sequence>
  189. </xs:complexType>
  190. </xs:element>
  191. <xs:element maxOccurs="1" minOccurs="0" name="jms-connection-factories">
  192. <xs:complexType>
  193. <xs:sequence>
  194. <xs:element name="connection-factory" maxOccurs="unbounded" minOccurs="0" type="connection-factoryType" />
  195. <xs:element name="pooled-connection-factory" maxOccurs="unbounded" minOccurs="0" type="pooled-connection-factoryType" />
  196. </xs:sequence>
  197. </xs:complexType>
  198. </xs:element>
  199. <xs:element maxOccurs="1" minOccurs="0" name="jms-destinations">
  200. <xs:complexType>
  201. <xs:sequence>
  202. <xs:element name="jms-queue" maxOccurs="unbounded" minOccurs="0" type="jmsQueueType" />
  203. <xs:element name="jms-topic" maxOccurs="unbounded" minOccurs="0" type="jmsTopicType" />
  204. </xs:sequence>
  205. </xs:complexType>
  206. </xs:element>
  207. </xs:all>
  208. <xs:attribute name="name" type="xs:string" use="optional" default="default">
  209. <xs:annotation>
  210. <xs:documentation>
  211. The name to use for this HornetQ Server. Must be unique across all "hornetq-server" elements
  212. in the subsystem. So, this attribute is optional with a default value, but if more than
  213. one "hornetq-server" element exists, only one can leave this attribute unspecified.
  214. </xs:documentation>
  215. </xs:annotation>
  216. </xs:attribute>
  217. </xs:complexType>
  218. <xs:element name="local-bind-address" type="xs:string"/>
  219. <xs:element name="local-bind-port" type="xs:int"/>
  220. <xs:element name="group-address" type="xs:string"/>
  221. <xs:element name="group-port" type="xs:int"/>
  222. <xs:element name="broadcast-period" type="xs:long"/>
  223. <xs:element name="initial-wait-timeout" type="xs:int"/>
  224. <xs:complexType name="broadcast-groupType">
  225. <xs:sequence>
  226. <xs:choice>
  227. <xs:sequence>
  228. <xs:element maxOccurs="1" minOccurs="1" name="socket-binding" type="xs:string" />
  229. </xs:sequence>
  230. <xs:sequence>
  231. <xs:element maxOccurs="1" minOccurs="0" ref="local-bind-address" />
  232. <xs:element maxOccurs="1" minOccurs="0" ref="local-bind-port" />
  233. <xs:element maxOccurs="1" minOccurs="1" ref="group-address" />
  234. <xs:element maxOccurs="1" minOccurs="1" ref="group-port" />
  235. </xs:sequence>
  236. </xs:choice>
  237. <xs:element maxOccurs="1" minOccurs="0" ref="broadcast-period" />
  238. <xs:element maxOccurs="unbounded" minOccurs="0" name="connector-ref" type="xs:string" />
  239. </xs:sequence>
  240. <xs:attribute name="name" type="xs:string" use="required"/>
  241. </xs:complexType>
  242. <xs:complexType name="discovery-groupType">
  243. <xs:sequence>
  244. <xs:choice>
  245. <xs:sequence>
  246. <xs:element maxOccurs="1" minOccurs="1" name="socket-binding" type="xs:string" />
  247. </xs:sequence>
  248. <xs:sequence>
  249. <xs:element maxOccurs="1" minOccurs="0" ref="local-bind-address" />
  250. <xs:element maxOccurs="1" minOccurs="1" ref="group-address" />
  251. <xs:element maxOccurs="1" minOccurs="1" ref="group-port" />
  252. </xs:sequence>
  253. </xs:choice>
  254. <xs:element maxOccurs="1" minOccurs="0" name="refresh-timeout" type="xs:int" />
  255. <xs:element maxOccurs="1" minOccurs="0" ref="initial-wait-timeout" />
  256. </xs:sequence>
  257. <xs:attribute name="name" type="xs:string" use="required"/>
  258. </xs:complexType>
  259. <xs:element name="discovery-group-ref">
  260. <xs:complexType>
  261. <xs:attribute name="discovery-group-name" type="xs:string" />
  262. </xs:complexType>
  263. </xs:element>
  264. <xs:complexType name="remoting-interceptorsType">
  265. <xs:sequence>
  266. <xs:element maxOccurs="unbounded" minOccurs="1" name="class-name" type="xs:string" />
  267. </xs:sequence>
  268. </xs:complexType>
  269. <xs:complexType name="paramType">
  270. <xs:attribute name="key" type="xs:string" use="required"/>
  271. <xs:attribute name="value" type="xs:string" use="required"/>
  272. </xs:complexType>
  273. <xs:complexType name="netty-connectorType">
  274. <xs:annotation>
  275. <xs:documentation>
  276. <![CDATA[
  277. The netty connector type.
  278. ]]>
  279. </xs:documentation>
  280. </xs:annotation>
  281. <xs:complexContent>
  282. <xs:extension base="base-connectorType">
  283. <xs:attribute name="socket-binding" type="xs:string" use="required" />
  284. </xs:extension>
  285. </xs:complexContent>
  286. </xs:complexType>
  287. <xs:complexType name="inVM-connectorType">
  288. <xs:annotation>
  289. <xs:documentation>
  290. <![CDATA[
  291. The inVM connector type.
  292. ]]>
  293. </xs:documentation>
  294. </xs:annotation>
  295. <xs:complexContent>
  296. <xs:extension base="base-connectorType">
  297. <xs:attribute name="server-id" type="xs:int" use="optional" />
  298. </xs:extension>
  299. </xs:complexContent>
  300. </xs:complexType>
  301. <xs:complexType name="connectorType">
  302. <xs:annotation>
  303. <xs:documentation>
  304. <![CDATA[
  305. Generic connector type, with optional socket-binding depending on whether
  306. the implementation requires a Host/Port parameter.
  307. ]]>
  308. </xs:documentation>
  309. </xs:annotation>
  310. <xs:complexContent>
  311. <xs:extension base="base-connectorType">
  312. <xs:sequence>
  313. <xs:element maxOccurs="1" minOccurs="1" name="factory-class" type="xs:string" />
  314. </xs:sequence>
  315. <xs:attribute name="socket-binding" type="xs:string" use="optional" />
  316. </xs:extension>
  317. </xs:complexContent>
  318. </xs:complexType>
  319. <xs:complexType name="base-connectorType">
  320. <xs:sequence>
  321. <xs:element maxOccurs="unbounded" minOccurs="0" name="param" type="paramType" />
  322. </xs:sequence>
  323. <xs:attribute name="name" type="xs:string" use="required"/>
  324. </xs:complexType>
  325. <xs:complexType name="netty-acceptorType">
  326. <xs:annotation>
  327. <xs:documentation>
  328. <![CDATA[
  329. The netty acceptor type.
  330. ]]>
  331. </xs:documentation>
  332. </xs:annotation>
  333. <xs:complexContent>
  334. <xs:extension base="base-acceptorType">
  335. <xs:attribute name="socket-binding" type="xs:string" use="required" />
  336. </xs:extension>
  337. </xs:complexContent>
  338. </xs:complexType>
  339. <xs:complexType name="inVM-acceptorType">
  340. <xs:annotation>
  341. <xs:documentation>
  342. <![CDATA[
  343. The inVM connector type.
  344. ]]>
  345. </xs:documentation>
  346. </xs:annotation>
  347. <xs:complexContent>
  348. <xs:extension base="base-acceptorType">
  349. <xs:attribute name="server-id" type="xs:int" use="optional" />
  350. </xs:extension>
  351. </xs:complexContent>
  352. </xs:complexType>
  353. <xs:complexType name="acceptorType">
  354. <xs:annotation>
  355. <xs:documentation>
  356. <![CDATA[
  357. Generic acceptor type, with optional socket-binding depending on whether
  358. the implementation requires a Host/Port parameter.
  359. ]]>
  360. </xs:documentation>
  361. </xs:annotation>
  362. <xs:complexContent>
  363. <xs:extension base="base-acceptorType">
  364. <xs:sequence>
  365. <xs:element maxOccurs="1" minOccurs="1" name="factory-class" type="xs:string" />
  366. </xs:sequence>
  367. <xs:attribute name="socket-binding" type="xs:string" use="optional" />
  368. </xs:extension>
  369. </xs:complexContent>
  370. </xs:complexType>
  371. <xs:complexType name="base-acceptorType">
  372. <xs:sequence>
  373. <xs:element maxOccurs="unbounded" minOccurs="0" name="param" type="paramType" />
  374. </xs:sequence>
  375. <xs:attribute name="name" type="xs:string" use="optional"/>
  376. </xs:complexType>
  377. <xs:complexType name="bridgeType">
  378. <xs:sequence>
  379. <xs:element maxOccurs="1" minOccurs="1" name="queue-name" type="xs:string" />
  380. <xs:element maxOccurs="1" minOccurs="0" name="forwarding-address" type="xs:string" />
  381. <xs:element maxOccurs="1" minOccurs="0" name="ha" type="xs:boolean" />
  382. <xs:element maxOccurs="1" minOccurs="0" name="filter">
  383. <xs:complexType>
  384. <xs:attribute name="string" type="xs:string" use="required"/>
  385. </xs:complexType>
  386. </xs:element>
  387. <xs:element maxOccurs="1" minOccurs="0" name="transformer-class-name" type="xs:string" />
  388. <xs:element maxOccurs="1" minOccurs="0" name="retry-interval" type="xs:long" />
  389. <xs:element maxOccurs="1" minOccurs="0" name="retry-interval-multiplier" type="xs:double" />
  390. <xs:element maxOccurs="1" minOccurs="0" name="reconnect-attempts" type="xs:int" />
  391. <xs:element maxOccurs="1" minOccurs="0" name="failover-on-server-shutdown" type="xs:boolean" />
  392. <xs:element maxOccurs="1" minOccurs="0" name="use-duplicate-detection" type="xs:boolean" />
  393. <xs:element maxOccurs="1" minOccurs="0" name="confirmation-window-size" type="xs:int" />
  394. <xs:element maxOccurs="1" minOccurs="0" name="user" type="xs:string" />
  395. <xs:element maxOccurs="1" minOccurs="0" name="password" type="xs:string" />
  396. <xs:choice>
  397. <xs:element maxOccurs="1" minOccurs="1" name="static-connectors">
  398. <xs:complexType>
  399. <xs:sequence>
  400. <xs:element maxOccurs="unbounded" minOccurs="1" name="connector-ref" type="xs:string"/>
  401. </xs:sequence>
  402. </xs:complexType>
  403. </xs:element>
  404. <xs:element maxOccurs="1" minOccurs="1" name="discovery-group-ref">
  405. <xs:complexType>
  406. <xs:attribute name="discovery-group-name" type="xs:string" use="required" />
  407. </xs:complexType>
  408. </xs:element>
  409. </xs:choice>
  410. </xs:sequence>
  411. <xs:attribute name="name" type="xs:string" use="required"/>
  412. </xs:complexType>
  413. <xs:complexType name="clusterConnectionType">
  414. <xs:sequence>
  415. <xs:element maxOccurs="1" minOccurs="1" name="address" type="xs:string" />
  416. <xs:element maxOccurs="1" minOccurs="1" name="connector-ref" type="xs:string" />
  417. <xs:element maxOccurs="1" minOccurs="0" name="retry-interval" type="xs:long" />
  418. <xs:element maxOccurs="1" minOccurs="0" name="use-duplicate-detection" type="xs:boolean" />
  419. <xs:element maxOccurs="1" minOccurs="0" name="forward-when-no-consumers" type="xs:boolean" />
  420. <xs:element maxOccurs="1" minOccurs="0" name="max-hops" type="xs:int" />
  421. <xs:element maxOccurs="1" minOccurs="0" name="confirmation-window-size" type="xs:int" />
  422. <xs:choice>
  423. <xs:element maxOccurs="1" minOccurs="0" name="static-connectors">
  424. <xs:complexType>
  425. <xs:sequence>
  426. <xs:element maxOccurs="unbounded" minOccurs="0" name="connector-ref" type="xs:string"/>
  427. </xs:sequence>
  428. <xs:attribute name="allow-direct-connections-only" type="xs:boolean" use="optional"/>
  429. </xs:complexType>
  430. </xs:element>
  431. <xs:element maxOccurs="1" minOccurs="0" name="discovery-group-ref">
  432. <xs:complexType>
  433. <xs:attribute name="discovery-group-name" type="xs:string" use="required" />
  434. </xs:complexType>
  435. </xs:element>
  436. </xs:choice>
  437. </xs:sequence>
  438. <xs:attribute name="name" type="xs:string" use="required"/>
  439. </xs:complexType>
  440. <xs:complexType name="divertType">
  441. <xs:sequence>
  442. <xs:element maxOccurs="1" minOccurs="0" name="routing-name" type="xs:string" />
  443. <xs:element maxOccurs="1" minOccurs="1" name="address" type="xs:string" />
  444. <xs:element maxOccurs="1" minOccurs="1" name="forwarding-address" type="xs:string" />
  445. <xs:element maxOccurs="1" minOccurs="0" name="filter">
  446. <xs:complexType>
  447. <xs:attribute name="string" type="xs:string" use="required"/>
  448. </xs:complexType>
  449. </xs:element>
  450. <xs:element maxOccurs="1" minOccurs="0" name="transformer-class-name" type="xs:string" />
  451. <xs:element maxOccurs="1" minOccurs="0" name="exclusive" type="xs:boolean" />
  452. </xs:sequence>
  453. <xs:attribute name="name" type="xs:string" use="required"/>
  454. </xs:complexType>
  455. <xs:simpleType name="journalType">
  456. <xs:restriction base="xs:token">
  457. <xs:enumeration value="ASYNCIO"/>
  458. <xs:enumeration value="NIO"/>
  459. </xs:restriction>
  460. </xs:simpleType>
  461. <xs:complexType name="groupingHandlerType">
  462. <xs:sequence>
  463. <xs:element maxOccurs="1" minOccurs="1" name="type" type="groupingHandlerTypeType"/>
  464. <xs:element maxOccurs="1" minOccurs="1" name="address" type="xs:string"/>
  465. <xs:element maxOccurs="1" minOccurs="0" name="timeout" type="xs:int"/>
  466. </xs:sequence>
  467. <xs:attribute name="name" type="xs:string" use="required"/>
  468. </xs:complexType>
  469. <xs:simpleType name="groupingHandlerTypeType">
  470. <xs:restriction base="xs:token">
  471. <xs:enumeration value="LOCAL"/>
  472. <xs:enumeration value="REMOTE"/>
  473. </xs:restriction>
  474. </xs:simpleType>
  475. <xs:complexType name="security-settingsType">
  476. <xs:sequence>
  477. <xs:element maxOccurs="unbounded" minOccurs="0" name="security-setting" type="security-settingType"/>
  478. </xs:sequence>
  479. </xs:complexType>
  480. <xs:complexType name="security-settingType">
  481. <xs:sequence>
  482. <xs:element maxOccurs="unbounded" minOccurs="0" name="permission">
  483. <xs:complexType>
  484. <xs:attribute name="type" type="xs:string" use="required"/>
  485. <xs:attribute name="roles" type="xs:string" use="required"/>
  486. </xs:complexType>
  487. </xs:element>
  488. </xs:sequence>
  489. <xs:attribute name="match" type="xs:string" use="required"/>
  490. </xs:complexType>
  491. <xs:complexType name="address-settingsType">
  492. <xs:sequence>
  493. <xs:element maxOccurs="unbounded" minOccurs="0" name="address-setting" type="address-settingType"/>
  494. </xs:sequence>
  495. </xs:complexType>
  496. <xs:complexType name="address-settingType">
  497. <xs:all>
  498. <xs:element maxOccurs="1" minOccurs="0" name="dead-letter-address" type="xs:string" />
  499. <xs:element maxOccurs="1" minOccurs="0" name="expiry-address" type="xs:string" />
  500. <xs:element maxOccurs="1" minOccurs="0" name="redelivery-delay" type="xs:long" />
  501. <xs:element maxOccurs="1" minOccurs="0" name="max-delivery-attempts" type="xs:int" />
  502. <xs:element maxOccurs="1" minOccurs="0" name="max-size-bytes" type="xs:long" />
  503. <xs:element maxOccurs="1" minOccurs="0" name="page-size-bytes" type="xs:long" />
  504. <xs:element maxOccurs="1" minOccurs="0" name="page-max-cache-size" type="xs:int" />
  505. <xs:element maxOccurs="1" minOccurs="0" name="address-full-policy" type="addressFullMessagePolicyType" />
  506. <xs:element maxOccurs="1" minOccurs="0" name="message-counter-history-day-limit" type="xs:int" />
  507. <xs:element maxOccurs="1" minOccurs="0" name="last-value-queue" type="xs:boolean" />
  508. <xs:element maxOccurs="1" minOccurs="0" name="redistribution-delay" type="xs:long" />
  509. <xs:element maxOccurs="1" minOccurs="0" name="send-to-dla-on-no-route" type="xs:boolean" />
  510. </xs:all>
  511. <xs:attribute name="match" type="xs:string" use="required"/>
  512. </xs:complexType>
  513. <xs:complexType name="queuesType">
  514. <xs:sequence>
  515. <xs:element maxOccurs="unbounded" minOccurs="0" name="queue" type="queueType"/>
  516. </xs:sequence>
  517. </xs:complexType>
  518. <xs:complexType name="queueType">
  519. <xs:all>
  520. <xs:element maxOccurs="1" minOccurs="1" name="address" type="xs:string" />
  521. <xs:element maxOccurs="1" minOccurs="0" name="filter">
  522. <xs:complexType>
  523. <xs:attribute name="string" type="xs:string" use="required"/>
  524. </xs:complexType>
  525. </xs:element>
  526. <xs:element maxOccurs="1" minOccurs="0" name="durable" type="xs:boolean" />
  527. </xs:all>
  528. <xs:attribute name="name" type="xs:string" use="required"/>
  529. </xs:complexType>
  530. <xs:complexType name="live-connectorType">
  531. <xs:attribute name="connector-name" type="xs:string" use="required" />
  532. </xs:complexType>
  533. <xs:simpleType name="addressFullMessagePolicyType">
  534. <xs:restriction base="xs:token">
  535. <xs:enumeration value="DROP"/>
  536. <xs:enumeration value="PAGE"/>
  537. <xs:enumeration value="BLOCK"/>
  538. </xs:restriction>
  539. </xs:simpleType>
  540. <xs:complexType name="connectorServiceType">
  541. <xs:sequence>
  542. <xs:element maxOccurs="1" minOccurs="1" name="factory-class" type="xs:string" />
  543. <xs:element maxOccurs="unbounded" minOccurs="0" name="param" type="paramType" />
  544. </xs:sequence>
  545. <xs:attribute name="name" type="xs:string" use="optional"/>
  546. </xs:complexType>
  547. <xs:complexType name="directoryType">
  548. <xs:annotation>
  549. <xs:documentation>
  550. <![CDATA[
  551. A directory location configuration.
  552. The "path" attribute denotes a relative or absolute filesystem pathname where the directory should be
  553. located.
  554. The "relative-to" attribute references a global path configuration in the domain model, defaulting
  555. to the JBoss Application Server data directory (jboss.server.data.dir). If the value of the "path" attribute
  556. does not specify an absolute pathname, it will treated as relative to this path.
  557. ]]>
  558. </xs:documentation>
  559. </xs:annotation>
  560. <xs:attribute name="relative-to" type="xs:string" default="jboss.server.data.dir" />
  561. <xs:attribute name="path" type="xs:string" />
  562. </xs:complexType>
  563. <xs:complexType name="connection-factoryType">
  564. <xs:all>
  565. <xs:element name="discovery-group-ref" type="discovery-group-refType" maxOccurs="1" minOccurs="0" />
  566. <xs:element name="discovery-initial-wait-timeout" type="xs:long" maxOccurs="1" minOccurs="0" />
  567. <xs:element name="connectors" maxOccurs="1" minOccurs="0">
  568. <xs:complexType>
  569. <xs:sequence>
  570. <xs:element name="connector-ref" type="connector-refType" maxOccurs="unbounded" minOccurs="1"></xs:element>
  571. </xs:sequence>
  572. </xs:complexType>
  573. </xs:element>
  574. <xs:element name="entries" maxOccurs="1" minOccurs="0">
  575. <xs:complexType>
  576. <xs:sequence>
  577. <xs:element name="entry" type="entryType" maxOccurs="unbounded" minOccurs="1">
  578. </xs:element>
  579. </xs:sequence>
  580. </xs:complexType>
  581. </xs:element>
  582. <xs:element name="factory-type" type="connectionFactoryType" minOccurs="0" maxOccurs="1"/>
  583. <xs:element name="ha" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
  584. <xs:element name="client-failure-check-period" type="xs:long" maxOccurs="1" minOccurs="0" />
  585. <xs:element name="connection-ttl" type="xs:long" maxOccurs="1" minOccurs="0" />
  586. <xs:element name="call-timeout" type="xs:long" maxOccurs="1" minOccurs="0" />
  587. <xs:element name="consumer-window-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  588. <xs:element name="consumer-max-rate" type="xs:int" maxOccurs="1" minOccurs="0" />
  589. <xs:element name="confirmation-window-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  590. <xs:element name="producer-window-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  591. <xs:element name="producer-max-rate" type="xs:int" maxOccurs="1" minOccurs="0" />
  592. <xs:element name="cache-large-message-client" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  593. <xs:element name="min-large-message-size" type="xs:long" maxOccurs="1" minOccurs="0" />
  594. <xs:element name="client-id" type="xs:string" maxOccurs="1" minOccurs="0" />
  595. <xs:element name="dups-ok-batch-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  596. <xs:element name="transaction-batch-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  597. <xs:element name="block-on-acknowledge" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  598. <xs:element name="block-on-non-durable-send" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  599. <xs:element name="block-on-durable-send" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  600. <xs:element name="auto-group" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  601. <xs:element name="pre-acknowledge" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  602. <xs:element name="retry-interval" type="xs:long" maxOccurs="1" minOccurs="0" />
  603. <xs:element name="retry-interval-multiplier" type="xs:float" maxOccurs="1" minOccurs="0" />
  604. <xs:element name="max-retry-interval" type="xs:long" maxOccurs="1" minOccurs="0" />
  605. <xs:element name="reconnect-attempts" type="xs:int" maxOccurs="1" minOccurs="0" />
  606. <xs:element name="failover-on-initial-connection" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  607. <xs:element name="failover-on-server-shutdown" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  608. <xs:element name="connection-load-balancing-policy-class-name" type="xs:string" maxOccurs="1" minOccurs="0" />
  609. <xs:element name="use-global-pools" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  610. <xs:element name="scheduled-thread-pool-max-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  611. <xs:element name="thread-pool-max-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  612. <xs:element name="group-id" type="xs:string" maxOccurs="1" minOccurs="0" />
  613. </xs:all>
  614. <xs:attribute name="name" type="xs:string" />
  615. </xs:complexType>
  616. <xs:simpleType name="connectionFactoryType">
  617. <xs:restriction base="xs:token">
  618. <xs:enumeration value="GENERIC"/>
  619. <xs:enumeration value="QUEUE"/>
  620. <xs:enumeration value="TOPIC"/>
  621. <xs:enumeration value="XA_GENERIC"/>
  622. <xs:enumeration value="XA_QUEUE"/>
  623. <xs:enumeration value="XA_TOPIC"/>
  624. </xs:restriction>
  625. </xs:simpleType>
  626. <xs:complexType name="pooled-connection-factoryType">
  627. <xs:all>
  628. <xs:element name="inbound-config" maxOccurs="1" minOccurs="0">
  629. <xs:complexType>
  630. <xs:sequence>
  631. <xs:element name="use-jndi" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
  632. <xs:element name="jndi-params" type="xs:string" minOccurs="0" maxOccurs="1"/>
  633. <xs:element name="use-local-tx" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
  634. <xs:element name="setup-attempts" type="xs:integer" minOccurs="0" maxOccurs="1"/>
  635. <xs:element name="setup-interval" type="xs:long" minOccurs="0" maxOccurs="1"/>
  636. </xs:sequence>
  637. </xs:complexType>
  638. </xs:element>
  639. <xs:element name="transaction" type="transactionType" minOccurs="0" maxOccurs="1"/>
  640. <xs:element name="discovery-group-ref" type="discovery-group-refType" maxOccurs="1" minOccurs="0" />
  641. <xs:element name="discovery-initial-wait-timeout" type="xs:long" maxOccurs="1" minOccurs="0" />
  642. <xs:element name="connectors" maxOccurs="1" minOccurs="0">
  643. <xs:complexType>
  644. <xs:sequence>
  645. <xs:element name="connector-ref" type="connector-refType" maxOccurs="unbounded" minOccurs="1"></xs:element>
  646. </xs:sequence>
  647. </xs:complexType>
  648. </xs:element>
  649. <xs:element name="entries" maxOccurs="1" minOccurs="0">
  650. <xs:complexType>
  651. <xs:sequence>
  652. <xs:element name="entry" type="entryType" maxOccurs="unbounded" minOccurs="1">
  653. </xs:element>
  654. </xs:sequence>
  655. </xs:complexType>
  656. </xs:element>
  657. <xs:element name="ha" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
  658. <xs:element name="client-failure-check-period" type="xs:long" maxOccurs="1" minOccurs="0" />
  659. <xs:element name="connection-ttl" type="xs:long" maxOccurs="1" minOccurs="0" />
  660. <xs:element name="call-timeout" type="xs:long" maxOccurs="1" minOccurs="0" />
  661. <xs:element name="consumer-window-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  662. <xs:element name="consumer-max-rate" type="xs:int" maxOccurs="1" minOccurs="0" />
  663. <xs:element name="confirmation-window-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  664. <xs:element name="producer-window-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  665. <xs:element name="producer-max-rate" type="xs:int" maxOccurs="1" minOccurs="0" />
  666. <xs:element name="cache-large-message-client" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  667. <xs:element name="min-large-message-size" type="xs:long" maxOccurs="1" minOccurs="0" />
  668. <xs:element name="client-id" type="xs:string" maxOccurs="1" minOccurs="0" />
  669. <xs:element name="dups-ok-batch-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  670. <xs:element name="transaction-batch-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  671. <xs:element name="block-on-acknowledge" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  672. <xs:element name="block-on-non-durable-send" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  673. <xs:element name="block-on-durable-send" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  674. <xs:element name="auto-group" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  675. <xs:element name="pre-acknowledge" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  676. <xs:element name="retry-interval" type="xs:long" maxOccurs="1" minOccurs="0" />
  677. <xs:element name="retry-interval-multiplier" type="xs:float" maxOccurs="1" minOccurs="0" />
  678. <xs:element name="max-retry-interval" type="xs:long" maxOccurs="1" minOccurs="0" />
  679. <xs:element name="reconnect-attempts" type="xs:int" maxOccurs="1" minOccurs="0" />
  680. <xs:element name="failover-on-initial-connection" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  681. <xs:element name="failover-on-server-shutdown" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  682. <xs:element name="connection-load-balancing-policy-class-name" type="xs:string" maxOccurs="1" minOccurs="0" />
  683. <xs:element name="use-global-pools" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  684. <xs:element name="scheduled-thread-pool-max-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  685. <xs:element name="thread-pool-max-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  686. <xs:element name="group-id" type="xs:string" maxOccurs="1" minOccurs="0" />
  687. <xs:element name="user" type="xs:string" maxOccurs="1" minOccurs="0" />
  688. <xs:element name="password" type="xs:string" maxOccurs="1" minOccurs="0" />
  689. </xs:all>
  690. <xs:attribute name="name" type="xs:string" />
  691. </xs:complexType>
  692. <xs:complexType name="connector-refType">
  693. <xs:attribute name="connector-name" type="xs:string" use="required" />
  694. <xs:attribute name="backup-connector-name" type="xs:string" use="optional" />
  695. </xs:complexType>
  696. <xs:complexType name="entryType">
  697. <xs:attribute name="name" type="xs:string" use="required" />
  698. </xs:complexType>
  699. <xs:complexType name="discovery-group-refType">
  700. <xs:attribute name="discovery-group-name" type="xs:string" use="required" />
  701. </xs:complexType>
  702. <xs:complexType name="jmsQueueType">
  703. <xs:sequence>
  704. <xs:element name="entry" type="entryType" maxOccurs="unbounded" minOccurs="1" />
  705. <xs:element name="selector" maxOccurs="1" minOccurs="0">
  706. <xs:complexType>
  707. <xs:attribute name="string" type="xs:string" use="required" />
  708. </xs:complexType>
  709. </xs:element>
  710. <xs:element name="durable" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  711. </xs:sequence>
  712. <xs:attribute name="name" type="xs:string" use="required" />
  713. </xs:complexType>
  714. <xs:complexType name="jmsTopicType">
  715. <xs:sequence>
  716. <xs:element name="entry" type="entryType" maxOccurs="unbounded" minOccurs="1" />
  717. </xs:sequence>
  718. <xs:attribute name="name" type="xs:string" use="required" />
  719. </xs:complexType>
  720. <xs:complexType name="transactionType">
  721. <xs:attribute name="mode" use="required" type="modeType"/>
  722. </xs:complexType>
  723. <xs:simpleType name="modeType">
  724. <xs:restriction base="xs:token">
  725. <xs:enumeration value="xa">
  726. <xs:annotation>
  727. <xs:documentation></xs:documentation>
  728. </xs:annotation>
  729. </xs:enumeration>
  730. <xs:enumeration value="local">
  731. <xs:annotation>
  732. <xs:documentation></xs:documentation>
  733. </xs:annotation>
  734. </xs:enumeration>
  735. <xs:enumeration value="none">
  736. <xs:annotation>
  737. <xs:documentation></xs:documentation>
  738. </xs:annotation>
  739. </xs:enumeration>
  740. </xs:restriction>
  741. </xs:simpleType>
  742. </xs:schema>