jboss-as-messaging_1_3.xsd 58 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109
  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.3"
  25. targetNamespace="urn:jboss:domain:messaging:1.3"
  26. elementFormDefault="qualified"
  27. attributeFormDefault="unqualified"
  28. version="1.3">
  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:element maxOccurs="unbounded" minOccurs="0" name="jms-bridge" type="jms-bridgeType" />
  42. </xs:sequence>
  43. </xs:complexType>
  44. </xs:element>
  45. <xs:complexType name="hornetq-serverType">
  46. <xs:annotation>
  47. <xs:documentation>
  48. <![CDATA[
  49. The configuration of an individual HornetQ Server.
  50. ]]>
  51. </xs:documentation>
  52. </xs:annotation>
  53. <xs:all>
  54. <xs:element maxOccurs="1" minOccurs="0" name="clustered" type="xs:boolean">
  55. <xs:annotation>
  56. <xs:documentation>
  57. Deprecated. A HornetQ server is clustered if it has at least one cluster-connection.
  58. </xs:documentation>
  59. </xs:annotation>
  60. </xs:element>
  61. <!-- no file system deployment in AS
  62. <xs:element maxOccurs="1" minOccurs="0" type="file-deployment-enabled"/>
  63. -->
  64. <xs:element maxOccurs="1" minOccurs="0" name="persistence-enabled" type="xs:boolean" />
  65. <!-- TODO use thread subsystem? -->
  66. <xs:element maxOccurs="1" minOccurs="0" name="scheduled-thread-pool-max-size" type="xs:int">
  67. <xs:annotation>
  68. <xs:documentation>
  69. Maximum number of threads to use for the scheduled thread pool
  70. </xs:documentation>
  71. </xs:annotation>
  72. </xs:element>
  73. <xs:element maxOccurs="1" minOccurs="0" name="thread-pool-max-size" type="xs:int">
  74. <xs:annotation>
  75. <xs:documentation>
  76. Maximum number of threads to use for the thread pool
  77. </xs:documentation>
  78. </xs:annotation>
  79. </xs:element>
  80. <xs:element maxOccurs="1" minOccurs="0" name="security-domain" type="xs:string" />
  81. <xs:element maxOccurs="1" minOccurs="0" name="security-enabled" type="xs:boolean" />
  82. <xs:element maxOccurs="1" minOccurs="0" name="security-invalidation-interval" type="xs:long" />
  83. <xs:element maxOccurs="1" minOccurs="0" name="wild-card-routing-enabled" type="xs:boolean" />
  84. <xs:element maxOccurs="1" minOccurs="0" name="management-address" type="xs:string" />
  85. <xs:element maxOccurs="1" minOccurs="0" name="management-notification-address" type="xs:string" />
  86. <xs:element maxOccurs="1" minOccurs="0" name="cluster-user" type="xs:string" />
  87. <xs:element maxOccurs="1" minOccurs="0" name="cluster-password" type="xs:string" />
  88. <!-- no logging configuration for AS needed
  89. <xs:element maxOccurs="1" minOccurs="0" name="log-delegate-factory-class-name" type="xs:string" />
  90. -->
  91. <xs:element maxOccurs="1" minOccurs="0" name="jmx-management-enabled" type="xs:boolean" />
  92. <xs:element maxOccurs="1" minOccurs="0" name="jmx-domain" type="xs:string" />
  93. <xs:element maxOccurs="1" minOccurs="0" name="message-counter-enabled" type="xs:boolean" />
  94. <xs:element maxOccurs="1" minOccurs="0" name="message-counter-sample-period" type="xs:long" />
  95. <xs:element maxOccurs="1" minOccurs="0" name="message-counter-max-day-history" type="xs:int" />
  96. <xs:element maxOccurs="1" minOccurs="0" name="connection-ttl-override" type="xs:long" />
  97. <xs:element maxOccurs="1" minOccurs="0" name="async-connection-execution-enabled" type="xs:boolean" />
  98. <xs:element maxOccurs="1" minOccurs="0" name="transaction-timeout" type="xs:long" />
  99. <xs:element maxOccurs="1" minOccurs="0" name="transaction-timeout-scan-period" type="xs:long" />
  100. <xs:element maxOccurs="1" minOccurs="0" name="message-expiry-scan-period" type="xs:long" />
  101. <xs:element maxOccurs="1" minOccurs="0" name="message-expiry-thread-priority" type="xs:int" />
  102. <xs:element maxOccurs="1" minOccurs="0" name="id-cache-size" type="xs:int" />
  103. <xs:element maxOccurs="1" minOccurs="0" name="persist-id-cache" type="xs:boolean" />
  104. <xs:element maxOccurs="1" minOccurs="0" name="remoting-interceptors" type="remoting-interceptorsType" />
  105. <xs:element maxOccurs="1" minOccurs="0" name="remoting-incoming-interceptors" type="remoting-interceptorsType" />
  106. <xs:element maxOccurs="1" minOccurs="0" name="remoting-outgoing-interceptors" type="remoting-interceptorsType" />
  107. <xs:element maxOccurs="1" minOccurs="0" name="backup" type="xs:boolean" />
  108. <xs:element maxOccurs="1" minOccurs="0" name="allow-failback" type="xs:boolean" />
  109. <xs:element maxOccurs="1" minOccurs="0" name="failback-delay" type="xs:long" />
  110. <xs:element maxOccurs="1" minOccurs="0" name="failover-on-shutdown" type="xs:boolean" />
  111. <xs:element maxOccurs="1" minOccurs="0" name="shared-store" type="xs:boolean" />
  112. <xs:element maxOccurs="1" minOccurs="0" name="persist-delivery-count-before-delivery" type="xs:boolean" />
  113. <xs:element maxOccurs="1" minOccurs="0" name="live-connector-ref" type="live-connectorType">
  114. <xs:annotation>
  115. <xs:documentation>
  116. Deprecated.
  117. </xs:documentation>
  118. </xs:annotation>
  119. </xs:element>
  120. <xs:element maxOccurs="1" minOccurs="0" name="page-max-concurrent-io" type="xs:int" />
  121. <xs:element maxOccurs="1" minOccurs="0" name="create-bindings-dir" type="xs:boolean" />
  122. <xs:element maxOccurs="1" minOccurs="0" name="create-journal-dir" type="xs:boolean" />
  123. <xs:element maxOccurs="1" minOccurs="0" name="journal-type" type="journalType" />
  124. <xs:element maxOccurs="1" minOccurs="0" name="journal-buffer-timeout" type="xs:long" />
  125. <xs:element maxOccurs="1" minOccurs="0" name="journal-buffer-size" type="xs:long" />
  126. <xs:element maxOccurs="1" minOccurs="0" name="journal-sync-transactional" type="xs:boolean" />
  127. <xs:element maxOccurs="1" minOccurs="0" name="journal-sync-non-transactional" type="xs:boolean" />
  128. <xs:element maxOccurs="1" minOccurs="0" name="log-journal-write-rate" type="xs:boolean" />
  129. <xs:element maxOccurs="1" minOccurs="0" name="journal-file-size" type="xs:long" />
  130. <xs:element maxOccurs="1" minOccurs="0" name="journal-min-files" type="xs:int" />
  131. <xs:element maxOccurs="1" minOccurs="0" name="journal-compact-percentage" type="xs:int" />
  132. <xs:element maxOccurs="1" minOccurs="0" name="journal-compact-min-files" type="xs:int" />
  133. <xs:element maxOccurs="1" minOccurs="0" name="journal-max-io" type="xs:int" />
  134. <xs:element maxOccurs="1" minOccurs="0" name="perf-blast-pages" type="xs:int" />
  135. <xs:element maxOccurs="1" minOccurs="0" name="run-sync-speed-test" type="xs:boolean" />
  136. <xs:element maxOccurs="1" minOccurs="0" name="server-dump-interval" type="xs:long" />
  137. <xs:element maxOccurs="1" minOccurs="0" name="memory-warning-threshold" type="xs:int" />
  138. <xs:element maxOccurs="1" minOccurs="0" name="memory-measure-interval" type="xs:long" />
  139. <xs:element maxOccurs="1" minOccurs="0" name="check-for-live-server" type="xs:boolean" />
  140. <xs:element maxOccurs="1" minOccurs="0" name="backup-group-name" type="xs:string" />
  141. <xs:element maxOccurs="1" minOccurs="0" name="replication-clustername" type="xs:string" />
  142. <xs:element maxOccurs="1" minOccurs="0" name="paging-directory" type="directoryType" />
  143. <xs:element maxOccurs="1" minOccurs="0" name="bindings-directory" type="directoryType" />
  144. <xs:element maxOccurs="1" minOccurs="0" name="journal-directory" type="directoryType" />
  145. <xs:element maxOccurs="1" minOccurs="0" name="large-messages-directory" type="directoryType" />
  146. <xs:element maxOccurs="1" minOccurs="0" name="connectors">
  147. <xs:complexType>
  148. <xs:sequence>
  149. <xs:element maxOccurs="unbounded" minOccurs="0" name="netty-connector" type="netty-connectorType" />
  150. <xs:element maxOccurs="unbounded" minOccurs="0" name="in-vm-connector" type="inVM-connectorType" />
  151. <xs:element maxOccurs="unbounded" minOccurs="0" name="connector" type="connectorType" />
  152. </xs:sequence>
  153. </xs:complexType>
  154. </xs:element>
  155. <xs:element maxOccurs="1" minOccurs="0" name="acceptors">
  156. <xs:complexType>
  157. <xs:sequence>
  158. <xs:element maxOccurs="unbounded" minOccurs="0" name="netty-acceptor" type="netty-acceptorType" />
  159. <xs:element maxOccurs="unbounded" minOccurs="0" name="in-vm-acceptor" type="inVM-acceptorType" />
  160. <xs:element maxOccurs="unbounded" minOccurs="0" name="acceptor" type="acceptorType" />
  161. </xs:sequence>
  162. </xs:complexType>
  163. </xs:element>
  164. <xs:element maxOccurs="1" minOccurs="0" name="broadcast-groups">
  165. <xs:complexType>
  166. <xs:sequence>
  167. <xs:element maxOccurs="unbounded" minOccurs="0" name="broadcast-group" type="broadcast-groupType" />
  168. </xs:sequence>
  169. </xs:complexType>
  170. </xs:element>
  171. <xs:element maxOccurs="1" minOccurs="0" name="discovery-groups">
  172. <xs:complexType>
  173. <xs:sequence>
  174. <xs:element maxOccurs="unbounded" minOccurs="0" name="discovery-group" type="discovery-groupType" />
  175. </xs:sequence>
  176. </xs:complexType>
  177. </xs:element>
  178. <xs:element maxOccurs="1" minOccurs="0" name="diverts">
  179. <xs:complexType>
  180. <xs:sequence>
  181. <xs:element maxOccurs="unbounded" minOccurs="0" name="divert" type="divertType" />
  182. </xs:sequence>
  183. </xs:complexType>
  184. </xs:element>
  185. <xs:element maxOccurs="1" minOccurs="0" name="core-queues" type="queuesType" />
  186. <xs:element maxOccurs="1" minOccurs="0" name="bridges">
  187. <xs:complexType>
  188. <xs:sequence>
  189. <xs:element maxOccurs="unbounded" minOccurs="0" name="bridge" type="bridgeType" />
  190. </xs:sequence>
  191. </xs:complexType>
  192. </xs:element>
  193. <xs:element maxOccurs="1" minOccurs="0" name="cluster-connections">
  194. <xs:complexType>
  195. <xs:sequence>
  196. <xs:element maxOccurs="unbounded" minOccurs="0" name="cluster-connection" type="clusterConnectionType" />
  197. </xs:sequence>
  198. </xs:complexType>
  199. </xs:element>
  200. <xs:element maxOccurs="1" minOccurs="0" name="grouping-handler" type="groupingHandlerType" />
  201. <xs:element maxOccurs="1" minOccurs="0" name="security-settings" type="security-settingsType" />
  202. <xs:element maxOccurs="1" minOccurs="0" name="address-settings" type="address-settingsType" />
  203. <xs:element maxOccurs="1" minOccurs="0" name="connector-services">
  204. <xs:complexType>
  205. <xs:sequence>
  206. <xs:element maxOccurs="unbounded" minOccurs="0" name="connector-service" type="connectorServiceType"/>
  207. </xs:sequence>
  208. </xs:complexType>
  209. </xs:element>
  210. <xs:element maxOccurs="1" minOccurs="0" name="jms-connection-factories">
  211. <xs:complexType>
  212. <xs:sequence>
  213. <xs:element name="connection-factory" maxOccurs="unbounded" minOccurs="0" type="connection-factoryType" />
  214. <xs:element name="pooled-connection-factory" maxOccurs="unbounded" minOccurs="0" type="pooled-connection-factoryType" />
  215. </xs:sequence>
  216. </xs:complexType>
  217. </xs:element>
  218. <xs:element maxOccurs="1" minOccurs="0" name="jms-destinations">
  219. <xs:complexType>
  220. <xs:sequence>
  221. <xs:element name="jms-queue" maxOccurs="unbounded" minOccurs="0" type="jmsQueueType" />
  222. <xs:element name="jms-topic" maxOccurs="unbounded" minOccurs="0" type="jmsTopicType" />
  223. </xs:sequence>
  224. </xs:complexType>
  225. </xs:element>
  226. </xs:all>
  227. <xs:attribute name="name" type="xs:string" use="optional" default="default">
  228. <xs:annotation>
  229. <xs:documentation>
  230. The name to use for this HornetQ Server. Must be unique across all "hornetq-server" elements
  231. in the subsystem. So, this attribute is optional with a default value, but if more than
  232. one "hornetq-server" element exists, only one can leave this attribute unspecified.
  233. </xs:documentation>
  234. </xs:annotation>
  235. </xs:attribute>
  236. </xs:complexType>
  237. <xs:element name="local-bind-address" type="xs:string"/>
  238. <xs:element name="local-bind-port" type="xs:int"/>
  239. <xs:element name="group-address" type="xs:string"/>
  240. <xs:element name="group-port" type="xs:int"/>
  241. <xs:element name="broadcast-period" type="xs:long"/>
  242. <xs:element name="initial-wait-timeout" type="xs:int"/>
  243. <xs:complexType name="broadcast-groupType">
  244. <xs:sequence>
  245. <xs:choice>
  246. <xs:sequence>
  247. <xs:element maxOccurs="1" minOccurs="1" name="jgroups-stack" type="xs:string">
  248. <xs:annotation>
  249. <xs:documentation>
  250. The name of a stack defined in the org.jboss.as.clustering.jgroups subsystem.
  251. </xs:documentation>
  252. </xs:annotation>
  253. </xs:element>
  254. <xs:element maxOccurs="1" minOccurs="1" name="jgroups-channel" type="xs:string" />
  255. </xs:sequence>
  256. <xs:sequence>
  257. <xs:element maxOccurs="1" minOccurs="1" name="socket-binding" type="xs:string" />
  258. </xs:sequence>
  259. <xs:sequence>
  260. <xs:element maxOccurs="1" minOccurs="0" ref="local-bind-address">
  261. <xs:annotation>
  262. <xs:documentation>
  263. Deprecated. use socket-binding attribute instead to specify the local bind address.
  264. </xs:documentation>
  265. </xs:annotation>
  266. </xs:element>
  267. <xs:element maxOccurs="1" minOccurs="0" ref="local-bind-port">
  268. <xs:annotation>
  269. <xs:documentation>
  270. Deprecated. use socket-binding attribute instead to specify the local bind port.
  271. </xs:documentation>
  272. </xs:annotation>
  273. </xs:element>
  274. <xs:element maxOccurs="1" minOccurs="1" ref="group-address">
  275. <xs:annotation>
  276. <xs:documentation>
  277. Deprecated. use socket-binding attribute instead to specify the group address.
  278. </xs:documentation>
  279. </xs:annotation>
  280. </xs:element>
  281. <xs:element maxOccurs="1" minOccurs="1" ref="group-port">
  282. <xs:annotation>
  283. <xs:documentation>
  284. Deprecated. use socket-binding attribute instead to specify the group port.
  285. </xs:documentation>
  286. </xs:annotation>
  287. </xs:element>
  288. </xs:sequence>
  289. </xs:choice>
  290. <xs:element maxOccurs="1" minOccurs="0" ref="broadcast-period" />
  291. <xs:element maxOccurs="unbounded" minOccurs="0" name="connector-ref" type="xs:string" />
  292. </xs:sequence>
  293. <xs:attribute name="name" type="xs:string" use="required"/>
  294. </xs:complexType>
  295. <xs:complexType name="discovery-groupType">
  296. <xs:sequence>
  297. <xs:choice>
  298. <xs:sequence>
  299. <xs:element maxOccurs="1" minOccurs="1" name="jgroups-stack" type="xs:string">
  300. <xs:annotation>
  301. <xs:documentation>
  302. The name of a stack defined in the org.jboss.as.clustering.jgroups subsystem.
  303. </xs:documentation>
  304. </xs:annotation>
  305. </xs:element>
  306. <xs:element maxOccurs="1" minOccurs="1" name="jgroups-channel" type="xs:string" />
  307. </xs:sequence>
  308. <xs:sequence>
  309. <xs:element maxOccurs="1" minOccurs="1" name="socket-binding" type="xs:string" />
  310. </xs:sequence>
  311. <xs:sequence>
  312. <xs:element maxOccurs="1" minOccurs="0" ref="local-bind-address">
  313. <xs:annotation>
  314. <xs:documentation>
  315. Deprecated. use socket-binding attribute instead to specify the local bind address.
  316. </xs:documentation>
  317. </xs:annotation>
  318. </xs:element>
  319. <xs:element maxOccurs="1" minOccurs="1" ref="group-address">
  320. <xs:annotation>
  321. <xs:documentation>
  322. Deprecated. use socket-binding attribute instead to specify the group address.
  323. </xs:documentation>
  324. </xs:annotation>
  325. </xs:element>
  326. <xs:element maxOccurs="1" minOccurs="1" ref="group-port">
  327. <xs:annotation>
  328. <xs:documentation>
  329. Deprecated. use socket-binding attribute instead to specify the group port.
  330. </xs:documentation>
  331. </xs:annotation>
  332. </xs:element>
  333. </xs:sequence>
  334. </xs:choice>
  335. <xs:element maxOccurs="1" minOccurs="0" name="refresh-timeout" type="xs:int" />
  336. <xs:element maxOccurs="1" minOccurs="0" ref="initial-wait-timeout" />
  337. </xs:sequence>
  338. <xs:attribute name="name" type="xs:string" use="required"/>
  339. </xs:complexType>
  340. <xs:complexType name="remoting-interceptorsType">
  341. <xs:annotation>
  342. <xs:documentation>
  343. <![CDATA[
  344. Deprecated. Use remoting-incoming-interceptors instead.
  345. ]]>
  346. </xs:documentation>
  347. </xs:annotation>
  348. <xs:sequence>
  349. <xs:element maxOccurs="unbounded" minOccurs="1" name="class-name" type="xs:string" />
  350. </xs:sequence>
  351. </xs:complexType>
  352. <xs:complexType name="remoting-incoming-interceptorsType">
  353. <xs:annotation>
  354. <xs:documentation>
  355. <![CDATA[
  356. Remoting incoming interceptors must be placed into a JBoss module and added as a dependency to org.jboss.as.messaging:main module.
  357. ]]>
  358. </xs:documentation>
  359. </xs:annotation>
  360. <xs:sequence>
  361. <xs:element maxOccurs="unbounded" minOccurs="1" name="class-name" type="xs:string" />
  362. </xs:sequence>
  363. </xs:complexType>
  364. <xs:complexType name="remoting-outgoing-interceptorsType">
  365. <xs:annotation>
  366. <xs:documentation>
  367. <![CDATA[
  368. Remoting outgoing interceptors must be placed into a JBoss module and added as a dependency to org.jboss.as.messaging:main module.
  369. ]]>
  370. </xs:documentation>
  371. </xs:annotation>
  372. <xs:sequence>
  373. <xs:element maxOccurs="unbounded" minOccurs="1" name="class-name" type="xs:string" />
  374. </xs:sequence>
  375. </xs:complexType>
  376. <xs:complexType name="paramType">
  377. <xs:attribute name="key" type="xs:string" use="required"/>
  378. <xs:attribute name="value" type="xs:string" use="required"/>
  379. </xs:complexType>
  380. <xs:complexType name="netty-connectorType">
  381. <xs:annotation>
  382. <xs:documentation>
  383. <![CDATA[
  384. The netty connector type.
  385. ]]>
  386. </xs:documentation>
  387. </xs:annotation>
  388. <xs:complexContent>
  389. <xs:extension base="base-connectorType">
  390. <xs:attribute name="socket-binding" type="xs:string" use="required" />
  391. </xs:extension>
  392. </xs:complexContent>
  393. </xs:complexType>
  394. <xs:complexType name="inVM-connectorType">
  395. <xs:annotation>
  396. <xs:documentation>
  397. <![CDATA[
  398. The inVM connector type.
  399. ]]>
  400. </xs:documentation>
  401. </xs:annotation>
  402. <xs:complexContent>
  403. <xs:extension base="base-connectorType">
  404. <xs:attribute name="server-id" type="xs:int" use="optional" />
  405. </xs:extension>
  406. </xs:complexContent>
  407. </xs:complexType>
  408. <xs:complexType name="connectorType">
  409. <xs:annotation>
  410. <xs:documentation>
  411. <![CDATA[
  412. Generic connector type, with optional socket-binding depending on whether
  413. the implementation requires a Host/Port parameter.
  414. ]]>
  415. </xs:documentation>
  416. </xs:annotation>
  417. <xs:complexContent>
  418. <xs:extension base="base-connectorType">
  419. <xs:sequence>
  420. <xs:element maxOccurs="1" minOccurs="1" name="factory-class" type="xs:string" />
  421. </xs:sequence>
  422. <xs:attribute name="socket-binding" type="xs:string" use="optional" />
  423. </xs:extension>
  424. </xs:complexContent>
  425. </xs:complexType>
  426. <xs:complexType name="base-connectorType">
  427. <xs:sequence>
  428. <xs:element maxOccurs="unbounded" minOccurs="0" name="param" type="paramType" />
  429. </xs:sequence>
  430. <xs:attribute name="name" type="xs:string" use="required"/>
  431. </xs:complexType>
  432. <xs:complexType name="netty-acceptorType">
  433. <xs:annotation>
  434. <xs:documentation>
  435. <![CDATA[
  436. The netty acceptor type.
  437. ]]>
  438. </xs:documentation>
  439. </xs:annotation>
  440. <xs:complexContent>
  441. <xs:extension base="base-acceptorType">
  442. <xs:attribute name="socket-binding" type="xs:string" use="required" />
  443. </xs:extension>
  444. </xs:complexContent>
  445. </xs:complexType>
  446. <xs:complexType name="inVM-acceptorType">
  447. <xs:annotation>
  448. <xs:documentation>
  449. <![CDATA[
  450. The inVM connector type.
  451. ]]>
  452. </xs:documentation>
  453. </xs:annotation>
  454. <xs:complexContent>
  455. <xs:extension base="base-acceptorType">
  456. <xs:attribute name="server-id" type="xs:int" use="optional" />
  457. </xs:extension>
  458. </xs:complexContent>
  459. </xs:complexType>
  460. <xs:complexType name="acceptorType">
  461. <xs:annotation>
  462. <xs:documentation>
  463. <![CDATA[
  464. Generic acceptor type, with optional socket-binding depending on whether
  465. the implementation requires a Host/Port parameter.
  466. ]]>
  467. </xs:documentation>
  468. </xs:annotation>
  469. <xs:complexContent>
  470. <xs:extension base="base-acceptorType">
  471. <xs:sequence>
  472. <xs:element maxOccurs="1" minOccurs="1" name="factory-class" type="xs:string" />
  473. </xs:sequence>
  474. <xs:attribute name="socket-binding" type="xs:string" use="optional" />
  475. </xs:extension>
  476. </xs:complexContent>
  477. </xs:complexType>
  478. <xs:complexType name="base-acceptorType">
  479. <xs:sequence>
  480. <xs:element maxOccurs="unbounded" minOccurs="0" name="param" type="paramType" />
  481. </xs:sequence>
  482. <xs:attribute name="name" type="xs:string" use="optional"/>
  483. </xs:complexType>
  484. <xs:complexType name="bridgeType">
  485. <xs:sequence>
  486. <xs:element maxOccurs="1" minOccurs="1" name="queue-name" type="xs:string" />
  487. <xs:element maxOccurs="1" minOccurs="0" name="forwarding-address" type="xs:string" />
  488. <xs:element maxOccurs="1" minOccurs="0" name="ha" type="xs:boolean" />
  489. <xs:element maxOccurs="1" minOccurs="0" name="filter">
  490. <xs:complexType>
  491. <xs:attribute name="string" type="xs:string" use="required"/>
  492. </xs:complexType>
  493. </xs:element>
  494. <xs:element maxOccurs="1" minOccurs="0" name="transformer-class-name" type="xs:string" />
  495. <xs:element maxOccurs="1" minOccurs="0" name="min-large-message-size" type="xs:int" />
  496. <xs:element maxOccurs="1" minOccurs="0" name="check-period" type="xs:long" />
  497. <xs:element maxOccurs="1" minOccurs="0" name="connection-ttl" type="xs:long" />
  498. <xs:element maxOccurs="1" minOccurs="0" name="retry-interval" type="xs:long" />
  499. <xs:element maxOccurs="1" minOccurs="0" name="retry-interval-multiplier" type="xs:double" />
  500. <xs:element maxOccurs="1" minOccurs="0" name="max-retry-interval" type="xs:long" />
  501. <xs:element maxOccurs="1" minOccurs="0" name="reconnect-attempts" type="xs:int" />
  502. <xs:element maxOccurs="1" minOccurs="0" name="failover-on-server-shutdown" type="xs:boolean">
  503. <xs:annotation>
  504. <xs:documentation>
  505. Deprecated. the failover-on-server-shutdown attribute is no longer taken into account when configuring a connector-ref.
  506. </xs:documentation>
  507. </xs:annotation>
  508. </xs:element>
  509. <xs:element maxOccurs="1" minOccurs="0" name="use-duplicate-detection" type="xs:boolean" />
  510. <xs:element maxOccurs="1" minOccurs="0" name="confirmation-window-size" type="xs:int" />
  511. <xs:element maxOccurs="1" minOccurs="0" name="user" type="xs:string" />
  512. <xs:element maxOccurs="1" minOccurs="0" name="password" type="xs:string" />
  513. <xs:choice>
  514. <xs:element maxOccurs="1" minOccurs="1" name="static-connectors">
  515. <xs:complexType>
  516. <xs:sequence>
  517. <xs:element maxOccurs="unbounded" minOccurs="1" name="connector-ref" type="xs:string"/>
  518. </xs:sequence>
  519. </xs:complexType>
  520. </xs:element>
  521. <xs:element maxOccurs="1" minOccurs="1" name="discovery-group-ref" type="discovery-group-refType" />
  522. </xs:choice>
  523. </xs:sequence>
  524. <xs:attribute name="name" type="xs:string" use="required"/>
  525. </xs:complexType>
  526. <xs:complexType name="clusterConnectionType">
  527. <xs:sequence>
  528. <xs:element maxOccurs="1" minOccurs="1" name="address" type="xs:string" />
  529. <xs:element maxOccurs="1" minOccurs="1" name="connector-ref" type="xs:string" />
  530. <xs:element maxOccurs="1" minOccurs="0" name="check-period" type="xs:long" />
  531. <xs:element maxOccurs="1" minOccurs="0" name="connection-ttl" type="xs:long" />
  532. <xs:element maxOccurs="1" minOccurs="0" name="min-large-message-size" type="xs:int" />
  533. <xs:element maxOccurs="1" minOccurs="0" name="call-timeout" type="xs:long" />
  534. <xs:element maxOccurs="1" minOccurs="0" name="call-failover-timeout" type="xs:long" />
  535. <xs:element maxOccurs="1" minOccurs="0" name="retry-interval" type="xs:long" />
  536. <xs:element maxOccurs="1" minOccurs="0" name="retry-interval-multiplier" type="xs:double" />
  537. <xs:element maxOccurs="1" minOccurs="0" name="max-retry-interval" type="xs:long" />
  538. <xs:element maxOccurs="1" minOccurs="0" name="reconnect-attempts" type="xs:long" />
  539. <xs:element maxOccurs="1" minOccurs="0" name="use-duplicate-detection" type="xs:boolean" />
  540. <xs:element maxOccurs="1" minOccurs="0" name="forward-when-no-consumers" type="xs:boolean" />
  541. <xs:element maxOccurs="1" minOccurs="0" name="max-hops" type="xs:int" />
  542. <xs:element maxOccurs="1" minOccurs="0" name="confirmation-window-size" type="xs:int" />
  543. <xs:element maxOccurs="1" minOccurs="0" name="notification-interval" type="xs:long" />
  544. <xs:element maxOccurs="1" minOccurs="0" name="notification-attempts" type="xs:int" />
  545. <xs:choice>
  546. <xs:element maxOccurs="1" minOccurs="0" name="static-connectors">
  547. <xs:complexType>
  548. <xs:sequence>
  549. <xs:element maxOccurs="unbounded" minOccurs="0" name="connector-ref" type="xs:string"/>
  550. </xs:sequence>
  551. <xs:attribute name="allow-direct-connections-only" type="xs:boolean" use="optional"/>
  552. </xs:complexType>
  553. </xs:element>
  554. <xs:element maxOccurs="1" minOccurs="0" name="discovery-group-ref" type="discovery-group-refType" />
  555. </xs:choice>
  556. </xs:sequence>
  557. <xs:attribute name="name" type="xs:string" use="required"/>
  558. </xs:complexType>
  559. <xs:complexType name="divertType">
  560. <xs:sequence>
  561. <xs:element maxOccurs="1" minOccurs="0" name="routing-name" type="xs:string" />
  562. <xs:element maxOccurs="1" minOccurs="1" name="address" type="xs:string" />
  563. <xs:element maxOccurs="1" minOccurs="1" name="forwarding-address" type="xs:string" />
  564. <xs:element maxOccurs="1" minOccurs="0" name="filter">
  565. <xs:complexType>
  566. <xs:attribute name="string" type="xs:string" use="required"/>
  567. </xs:complexType>
  568. </xs:element>
  569. <xs:element maxOccurs="1" minOccurs="0" name="transformer-class-name" type="xs:string" />
  570. <xs:element maxOccurs="1" minOccurs="0" name="exclusive" type="xs:boolean" />
  571. </xs:sequence>
  572. <xs:attribute name="name" type="xs:string" use="required"/>
  573. </xs:complexType>
  574. <xs:simpleType name="journalType">
  575. <xs:restriction base="xs:token">
  576. <xs:enumeration value="ASYNCIO"/>
  577. <xs:enumeration value="NIO"/>
  578. </xs:restriction>
  579. </xs:simpleType>
  580. <xs:complexType name="groupingHandlerType">
  581. <xs:sequence>
  582. <xs:element maxOccurs="1" minOccurs="1" name="type" type="groupingHandlerTypeType"/>
  583. <xs:element maxOccurs="1" minOccurs="1" name="address" type="xs:string"/>
  584. <xs:element maxOccurs="1" minOccurs="0" name="timeout" type="xs:int"/>
  585. </xs:sequence>
  586. <xs:attribute name="name" type="xs:string" use="required"/>
  587. </xs:complexType>
  588. <xs:simpleType name="groupingHandlerTypeType">
  589. <xs:restriction base="xs:token">
  590. <xs:enumeration value="LOCAL"/>
  591. <xs:enumeration value="REMOTE"/>
  592. </xs:restriction>
  593. </xs:simpleType>
  594. <xs:complexType name="security-settingsType">
  595. <xs:sequence>
  596. <xs:element maxOccurs="unbounded" minOccurs="0" name="security-setting" type="security-settingType"/>
  597. </xs:sequence>
  598. </xs:complexType>
  599. <xs:complexType name="security-settingType">
  600. <xs:sequence>
  601. <xs:element maxOccurs="unbounded" minOccurs="0" name="permission">
  602. <xs:complexType>
  603. <xs:attribute name="type" type="security-permissionType" use="required"/>
  604. <xs:attribute name="roles" type="xs:string" use="required">
  605. <xs:annotation>
  606. <xs:documentation>
  607. <![CDATA[
  608. List of roles that are granted the permission for the given type. The roles must be separated by spaces or commas.
  609. ]]>
  610. </xs:documentation>
  611. </xs:annotation>
  612. </xs:attribute>
  613. </xs:complexType>
  614. </xs:element>
  615. </xs:sequence>
  616. <xs:attribute name="match" type="xs:string" use="required"/>
  617. </xs:complexType>
  618. <xs:complexType name="address-settingsType">
  619. <xs:sequence>
  620. <xs:element maxOccurs="unbounded" minOccurs="0" name="address-setting" type="address-settingType"/>
  621. </xs:sequence>
  622. </xs:complexType>
  623. <xs:complexType name="address-settingType">
  624. <xs:all>
  625. <xs:element maxOccurs="1" minOccurs="0" name="dead-letter-address" type="xs:string" />
  626. <xs:element maxOccurs="1" minOccurs="0" name="expiry-address" type="xs:string" />
  627. <xs:element maxOccurs="1" minOccurs="0" name="redelivery-delay" type="xs:long" />
  628. <xs:element maxOccurs="1" minOccurs="0" name="max-delivery-attempts" type="xs:int" />
  629. <xs:element maxOccurs="1" minOccurs="0" name="max-size-bytes" type="xs:long" />
  630. <xs:element maxOccurs="1" minOccurs="0" name="page-size-bytes" type="xs:long" />
  631. <xs:element maxOccurs="1" minOccurs="0" name="page-max-cache-size" type="xs:int" />
  632. <xs:element maxOccurs="1" minOccurs="0" name="address-full-policy" type="addressFullMessagePolicyType" />
  633. <xs:element maxOccurs="1" minOccurs="0" name="message-counter-history-day-limit" type="xs:int" />
  634. <xs:element maxOccurs="1" minOccurs="0" name="last-value-queue" type="xs:boolean" />
  635. <xs:element maxOccurs="1" minOccurs="0" name="redistribution-delay" type="xs:long" />
  636. <xs:element maxOccurs="1" minOccurs="0" name="send-to-dla-on-no-route" type="xs:boolean" />
  637. </xs:all>
  638. <xs:attribute name="match" type="xs:string" use="required"/>
  639. </xs:complexType>
  640. <xs:complexType name="queuesType">
  641. <xs:sequence>
  642. <xs:element maxOccurs="unbounded" minOccurs="0" name="queue" type="queueType"/>
  643. </xs:sequence>
  644. </xs:complexType>
  645. <xs:complexType name="queueType">
  646. <xs:all>
  647. <xs:element maxOccurs="1" minOccurs="1" name="address" type="xs:string" />
  648. <xs:element maxOccurs="1" minOccurs="0" name="filter">
  649. <xs:complexType>
  650. <xs:attribute name="string" type="xs:string" use="required"/>
  651. </xs:complexType>
  652. </xs:element>
  653. <xs:element maxOccurs="1" minOccurs="0" name="durable" type="xs:boolean" />
  654. </xs:all>
  655. <xs:attribute name="name" type="xs:string" use="required"/>
  656. </xs:complexType>
  657. <xs:complexType name="live-connectorType">
  658. <xs:attribute name="connector-name" type="xs:string" use="required" />
  659. </xs:complexType>
  660. <xs:simpleType name="addressFullMessagePolicyType">
  661. <xs:restriction base="xs:token">
  662. <xs:enumeration value="DROP"/>
  663. <xs:enumeration value="PAGE"/>
  664. <xs:enumeration value="BLOCK"/>
  665. </xs:restriction>
  666. </xs:simpleType>
  667. <xs:complexType name="connectorServiceType">
  668. <xs:sequence>
  669. <xs:element maxOccurs="1" minOccurs="1" name="factory-class" type="xs:string" />
  670. <xs:element maxOccurs="unbounded" minOccurs="0" name="param" type="paramType" />
  671. </xs:sequence>
  672. <xs:attribute name="name" type="xs:string" use="optional"/>
  673. </xs:complexType>
  674. <xs:complexType name="directoryType">
  675. <xs:annotation>
  676. <xs:documentation>
  677. <![CDATA[
  678. A directory location configuration.
  679. The "path" attribute denotes a relative or absolute filesystem pathname where the directory should be
  680. located.
  681. The "relative-to" attribute references a global path configuration in the domain model, defaulting
  682. to the JBoss Application Server data directory (jboss.server.data.dir). If the value of the "path" attribute
  683. does not specify an absolute pathname, it will treated as relative to this path.
  684. ]]>
  685. </xs:documentation>
  686. </xs:annotation>
  687. <xs:attribute name="relative-to" type="xs:string" default="jboss.server.data.dir" />
  688. <xs:attribute name="path" type="xs:string" />
  689. </xs:complexType>
  690. <!-- using a xs:all does not allow to factorize connection-factoryType and pooled-connection-factoryType
  691. in a common base type definition.
  692. The elements/attributes common to both are copied/pasted...
  693. -->
  694. <xs:complexType name="connection-factoryType">
  695. <xs:all>
  696. <!-- start of JMS connection-factoryType specific elements -->
  697. <!-- ============================================================== -->
  698. <xs:element name="factory-type" type="connectionFactoryType" minOccurs="0" maxOccurs="1"/>
  699. <!-- ============================================================== -->
  700. <!-- end of JMS connection-factoryType specific elements -->
  701. <!-- start of common elements -->
  702. <!-- ============================================================= -->
  703. <xs:element name="discovery-group-ref" type="discovery-group-refType" maxOccurs="1" minOccurs="0" />
  704. <xs:element name="connectors" maxOccurs="1" minOccurs="0">
  705. <xs:complexType>
  706. <xs:sequence>
  707. <xs:element name="connector-ref" type="connector-refType" maxOccurs="unbounded" minOccurs="1"></xs:element>
  708. </xs:sequence>
  709. </xs:complexType>
  710. </xs:element>
  711. <xs:element name="entries" maxOccurs="1" minOccurs="0">
  712. <xs:complexType>
  713. <xs:sequence>
  714. <xs:element name="entry" type="entryType" maxOccurs="unbounded" minOccurs="1">
  715. </xs:element>
  716. </xs:sequence>
  717. </xs:complexType>
  718. </xs:element>
  719. <xs:element name="ha" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
  720. <xs:element name="client-failure-check-period" type="xs:long" maxOccurs="1" minOccurs="0" />
  721. <xs:element name="connection-ttl" type="xs:long" maxOccurs="1" minOccurs="0" />
  722. <xs:element name="call-timeout" type="xs:long" maxOccurs="1" minOccurs="0" />
  723. <xs:element name="call-failover-timeout" type="xs:long" maxOccurs="1" minOccurs="0" />
  724. <xs:element name="consumer-window-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  725. <xs:element name="consumer-max-rate" type="xs:int" maxOccurs="1" minOccurs="0" />
  726. <xs:element name="confirmation-window-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  727. <xs:element name="producer-window-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  728. <xs:element name="producer-max-rate" type="xs:int" maxOccurs="1" minOccurs="0" />
  729. <xs:element name="compress-large-messages" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  730. <xs:element name="cache-large-message-client" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  731. <xs:element name="min-large-message-size" type="xs:long" maxOccurs="1" minOccurs="0" />
  732. <xs:element name="client-id" type="xs:string" maxOccurs="1" minOccurs="0" />
  733. <xs:element name="dups-ok-batch-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  734. <xs:element name="transaction-batch-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  735. <xs:element name="block-on-acknowledge" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  736. <xs:element name="block-on-non-durable-send" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  737. <xs:element name="block-on-durable-send" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  738. <xs:element name="auto-group" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  739. <xs:element name="pre-acknowledge" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  740. <xs:element name="retry-interval" type="xs:long" maxOccurs="1" minOccurs="0" />
  741. <xs:element name="retry-interval-multiplier" type="xs:float" maxOccurs="1" minOccurs="0" />
  742. <xs:element name="max-retry-interval" type="xs:long" maxOccurs="1" minOccurs="0" />
  743. <xs:element name="reconnect-attempts" type="xs:int" maxOccurs="1" minOccurs="0" />
  744. <xs:element name="failover-on-initial-connection" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  745. <xs:element name="failover-on-server-shutdown" type="xs:boolean" maxOccurs="1" minOccurs="0">
  746. <xs:annotation>
  747. <xs:documentation>
  748. Deprecated. the failover-on-server-shutdown attribute is no longer taken into account when configuring a connector-ref.
  749. </xs:documentation>
  750. </xs:annotation>
  751. </xs:element>
  752. <xs:element name="connection-load-balancing-policy-class-name" type="xs:string" maxOccurs="1" minOccurs="0" />
  753. <xs:element name="use-global-pools" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  754. <xs:element name="scheduled-thread-pool-max-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  755. <xs:element name="thread-pool-max-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  756. <xs:element name="group-id" type="xs:string" maxOccurs="1" minOccurs="0" />
  757. <!-- ============================================================= -->
  758. <!-- end of common elements -->
  759. </xs:all>
  760. <xs:attribute name="name" type="xs:string" />
  761. </xs:complexType>
  762. <xs:simpleType name="connectionFactoryType">
  763. <xs:restriction base="xs:token">
  764. <xs:enumeration value="GENERIC"/>
  765. <xs:enumeration value="QUEUE"/>
  766. <xs:enumeration value="TOPIC"/>
  767. <xs:enumeration value="XA_GENERIC"/>
  768. <xs:enumeration value="XA_QUEUE"/>
  769. <xs:enumeration value="XA_TOPIC"/>
  770. </xs:restriction>
  771. </xs:simpleType>
  772. <xs:complexType name="pooled-connection-factoryType">
  773. <xs:all>
  774. <!-- start of JMS pooled-connection-factoryType specific elements -->
  775. <!-- ============================================================== -->
  776. <xs:element name="inbound-config" maxOccurs="1" minOccurs="0">
  777. <xs:complexType>
  778. <xs:sequence>
  779. <xs:element name="use-jndi" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
  780. <xs:element name="jndi-params" type="xs:string" minOccurs="0" maxOccurs="1"/>
  781. <xs:element name="use-local-tx" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
  782. <xs:element name="setup-attempts" type="xs:integer" minOccurs="0" maxOccurs="1"/>
  783. <xs:element name="setup-interval" type="xs:long" minOccurs="0" maxOccurs="1"/>
  784. </xs:sequence>
  785. </xs:complexType>
  786. </xs:element>
  787. <xs:element name="transaction" type="transactionType" minOccurs="0" maxOccurs="1"/>
  788. <xs:element name="user" type="xs:string" maxOccurs="1" minOccurs="0" />
  789. <xs:element name="password" type="xs:string" maxOccurs="1" minOccurs="0" />
  790. <xs:element name="min-pool-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  791. <xs:element name="max-pool-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  792. <xs:element name="use-auto-recovery" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  793. <xs:element name="initial-message-packet-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  794. <xs:element name="initial-connect-attempts" type="xs:int" maxOccurs="1" minOccurs="0" />
  795. <!-- ============================================================== -->
  796. <!-- end of JMS pooled-connection-factoryType specific elements -->
  797. <!-- start of common elements -->
  798. <!-- ============================================================= -->
  799. <xs:element name="discovery-group-ref" type="discovery-group-refType" maxOccurs="1" minOccurs="0" />
  800. <xs:element name="connectors" maxOccurs="1" minOccurs="0">
  801. <xs:complexType>
  802. <xs:sequence>
  803. <xs:element name="connector-ref" type="connector-refType" maxOccurs="unbounded" minOccurs="1"></xs:element>
  804. </xs:sequence>
  805. </xs:complexType>
  806. </xs:element>
  807. <xs:element name="entries" maxOccurs="1" minOccurs="0">
  808. <xs:complexType>
  809. <xs:sequence>
  810. <xs:element name="entry" type="entryType" maxOccurs="unbounded" minOccurs="1">
  811. </xs:element>
  812. </xs:sequence>
  813. </xs:complexType>
  814. </xs:element>
  815. <xs:element name="ha" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
  816. <xs:element name="client-failure-check-period" type="xs:long" maxOccurs="1" minOccurs="0" />
  817. <xs:element name="connection-ttl" type="xs:long" maxOccurs="1" minOccurs="0" />
  818. <xs:element name="call-timeout" type="xs:long" maxOccurs="1" minOccurs="0" />
  819. <xs:element name="call-failover-timeout" type="xs:long" maxOccurs="1" minOccurs="0" />
  820. <xs:element name="compress-large-messages" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  821. <xs:element name="consumer-window-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  822. <xs:element name="consumer-max-rate" type="xs:int" maxOccurs="1" minOccurs="0" />
  823. <xs:element name="confirmation-window-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  824. <xs:element name="producer-window-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  825. <xs:element name="producer-max-rate" type="xs:int" maxOccurs="1" minOccurs="0" />
  826. <xs:element name="cache-large-message-client" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  827. <xs:element name="min-large-message-size" type="xs:long" maxOccurs="1" minOccurs="0" />
  828. <xs:element name="client-id" type="xs:string" maxOccurs="1" minOccurs="0" />
  829. <xs:element name="dups-ok-batch-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  830. <xs:element name="transaction-batch-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  831. <xs:element name="block-on-acknowledge" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  832. <xs:element name="block-on-non-durable-send" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  833. <xs:element name="block-on-durable-send" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  834. <xs:element name="auto-group" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  835. <xs:element name="pre-acknowledge" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  836. <xs:element name="retry-interval" type="xs:long" maxOccurs="1" minOccurs="0" />
  837. <xs:element name="retry-interval-multiplier" type="xs:float" maxOccurs="1" minOccurs="0" />
  838. <xs:element name="max-retry-interval" type="xs:long" maxOccurs="1" minOccurs="0" />
  839. <xs:element name="reconnect-attempts" type="xs:int" maxOccurs="1" minOccurs="0" />
  840. <xs:element name="failover-on-initial-connection" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  841. <xs:element name="failover-on-server-shutdown" type="xs:boolean" maxOccurs="1" minOccurs="0">
  842. <xs:annotation>
  843. <xs:documentation>
  844. Deprecated. the failover-on-server-shutdown attribute is no longer taken into account when configuring a connector-ref.
  845. </xs:documentation>
  846. </xs:annotation>
  847. </xs:element>
  848. <xs:element name="connection-load-balancing-policy-class-name" type="xs:string" maxOccurs="1" minOccurs="0" />
  849. <xs:element name="use-global-pools" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  850. <xs:element name="scheduled-thread-pool-max-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  851. <xs:element name="thread-pool-max-size" type="xs:int" maxOccurs="1" minOccurs="0" />
  852. <xs:element name="group-id" type="xs:string" maxOccurs="1" minOccurs="0" />
  853. <!-- ============================================================= -->
  854. <!-- end of common elements -->
  855. </xs:all>
  856. <xs:attribute name="name" type="xs:string" />
  857. </xs:complexType>
  858. <xs:complexType name="connector-refType">
  859. <xs:attribute name="connector-name" type="xs:string" use="required" />
  860. <xs:attribute name="backup-connector-name" type="xs:string" use="optional">
  861. <xs:annotation>
  862. <xs:documentation>
  863. Deprecated. the backup-connector-name attribute is no longer taken into account when configuring a connector-ref.
  864. </xs:documentation>
  865. </xs:annotation>
  866. </xs:attribute>
  867. </xs:complexType>
  868. <xs:complexType name="entryType">
  869. <xs:attribute name="name" type="xs:string" use="required" />
  870. </xs:complexType>
  871. <xs:complexType name="discovery-group-refType">
  872. <xs:attribute name="discovery-group-name" type="xs:string" use="required" />
  873. </xs:complexType>
  874. <xs:complexType name="jmsQueueType">
  875. <xs:sequence>
  876. <xs:element name="entry" type="entryType" maxOccurs="unbounded" minOccurs="1" />
  877. <xs:element name="selector" maxOccurs="1" minOccurs="0">
  878. <xs:complexType>
  879. <xs:attribute name="string" type="xs:string" use="required" />
  880. </xs:complexType>
  881. </xs:element>
  882. <xs:element name="durable" type="xs:boolean" maxOccurs="1" minOccurs="0" />
  883. </xs:sequence>
  884. <xs:attribute name="name" type="xs:string" use="required" />
  885. </xs:complexType>
  886. <xs:complexType name="jmsTopicType">
  887. <xs:sequence>
  888. <xs:element name="entry" type="entryType" maxOccurs="unbounded" minOccurs="1" />
  889. </xs:sequence>
  890. <xs:attribute name="name" type="xs:string" use="required" />
  891. </xs:complexType>
  892. <xs:complexType name="transactionType">
  893. <xs:attribute name="mode" use="required" type="modeType"/>
  894. </xs:complexType>
  895. <xs:simpleType name="modeType">
  896. <xs:restriction base="xs:token">
  897. <xs:enumeration value="xa">
  898. <xs:annotation>
  899. <xs:documentation></xs:documentation>
  900. </xs:annotation>
  901. </xs:enumeration>
  902. <xs:enumeration value="local">
  903. <xs:annotation>
  904. <xs:documentation></xs:documentation>
  905. </xs:annotation>
  906. </xs:enumeration>
  907. <xs:enumeration value="none">
  908. <xs:annotation>
  909. <xs:documentation></xs:documentation>
  910. </xs:annotation>
  911. </xs:enumeration>
  912. </xs:restriction>
  913. </xs:simpleType>
  914. <xs:complexType name="jms-bridgeType">
  915. <xs:annotation>
  916. <xs:documentation>
  917. <![CDATA[
  918. The configuration of a JMS bridge.
  919. ]]>
  920. </xs:documentation>
  921. </xs:annotation>
  922. <xs:all>
  923. <xs:element maxOccurs="1" minOccurs="1" name="source" type="jms-bridgeResourceType" />
  924. <xs:element maxOccurs="1" minOccurs="1" name="destination" type="jms-bridgeResourceType" />
  925. <xs:element maxOccurs="1" minOccurs="1" name="quality-of-service" type="quality-of-serviceType" />
  926. <xs:element maxOccurs="1" minOccurs="1" name="failure-retry-interval" type="xs:long" />
  927. <xs:element maxOccurs="1" minOccurs="1" name="max-retries" type="xs:int" />
  928. <xs:element maxOccurs="1" minOccurs="1" name="max-batch-size" type="xs:int" />
  929. <xs:element maxOccurs="1" minOccurs="1" name="max-batch-time" type="xs:long" />
  930. <xs:element maxOccurs="1" minOccurs="0" name="selector" type="selectorType" />
  931. <xs:element maxOccurs="1" minOccurs="0" name="subscription-name" type="xs:string" />
  932. <xs:element maxOccurs="1" minOccurs="0" name="client-id" type="xs:string" />
  933. <xs:element maxOccurs="1" minOccurs="0" name="add-messageID-in-header" type="xs:boolean" />
  934. </xs:all>
  935. <xs:attribute name="name" type="xs:string" use="optional" default="default">
  936. <xs:annotation>
  937. <xs:documentation>
  938. The name to use for this JMS bridge. Must be unique across all "jms-bridge" elements
  939. in the subsystem. So, this attribute is optional with a default value, but if more than
  940. one "jms-bridge" element exists, only one can leave this attribute unspecified.
  941. </xs:documentation>
  942. </xs:annotation>
  943. </xs:attribute>
  944. <xs:attribute name="module" type="xs:string" use="optional">
  945. <xs:annotation>
  946. <xs:documentation>
  947. The name of the module that contains resources required to lookup source or target JMS resources from another messaging broker than AS7.
  948. This does not need to be specified if the bridge uses AS7 instances for both source and target.
  949. </xs:documentation>
  950. </xs:annotation>
  951. </xs:attribute>
  952. </xs:complexType>
  953. <xs:complexType name="jms-bridgeResourceType">
  954. <xs:annotation>
  955. <xs:documentation>
  956. <![CDATA[
  957. The configuration of a JMS bridge resource which serves either of the source (from which the messages are consumed)
  958. or the destination (to which messages are produced).
  959. ]]>
  960. </xs:documentation>
  961. </xs:annotation>
  962. <xs:all>
  963. <xs:element maxOccurs="1" minOccurs="1" name="connection-factory">
  964. <xs:complexType>
  965. <xs:attribute name="name" type="xs:string" use="required">
  966. <xs:annotation>
  967. <xs:documentation>
  968. The JNDI name to lookup the connection factory.
  969. </xs:documentation>
  970. </xs:annotation>
  971. </xs:attribute>
  972. </xs:complexType>
  973. </xs:element>
  974. <xs:element maxOccurs="1" minOccurs="1" name="destination">
  975. <xs:complexType>
  976. <xs:attribute name="name" type="xs:string" use="required">
  977. <xs:annotation>
  978. <xs:documentation>
  979. The JNDI name to lookup the destination.
  980. </xs:documentation>
  981. </xs:annotation>
  982. </xs:attribute>
  983. </xs:complexType>
  984. </xs:element>
  985. <xs:element maxOccurs="1" minOccurs="0" name="user" type="xs:string">
  986. <xs:annotation>
  987. <xs:documentation>
  988. The name of the user for creating the connection.
  989. </xs:documentation>
  990. </xs:annotation>
  991. </xs:element>
  992. <xs:element maxOccurs="1" minOccurs="0" name="password" type="xs:string">
  993. <xs:annotation>
  994. <xs:documentation>
  995. The password of the user for creating the connection.
  996. </xs:documentation>
  997. </xs:annotation>
  998. </xs:element>
  999. <xs:element maxOccurs="1" minOccurs="0" name="context" type="contextType" />
  1000. </xs:all>
  1001. </xs:complexType>
  1002. <xs:complexType name="selectorType">
  1003. <xs:attribute name="string" type="xs:string" use="required" />
  1004. </xs:complexType>
  1005. <xs:simpleType name="quality-of-serviceType">
  1006. <xs:restriction base="xs:token">
  1007. <xs:enumeration value="AT_MOST_ONCE"/>
  1008. <xs:enumeration value="DUPLICATES_OK"/>
  1009. <xs:enumeration value="ONCE_AND_ONLY_ONCE"/>
  1010. </xs:restriction>
  1011. </xs:simpleType>
  1012. <xs:simpleType name="security-permissionType">
  1013. <xs:restriction base="xs:token">
  1014. <xs:enumeration value="send"/>
  1015. <xs:enumeration value="consume"/>
  1016. <xs:enumeration value="createDurableQueue"/>
  1017. <xs:enumeration value="deleteDurableQueue"/>
  1018. <xs:enumeration value="createNonDurableQueue"/>
  1019. <xs:enumeration value="deleteNonDurableQueue"/>
  1020. <xs:enumeration value="manage"/>
  1021. <xs:enumeration value="createTempQueue">
  1022. <xs:annotation>
  1023. <xs:documentation>
  1024. Deprecated. use createNonDurableQueue instead.
  1025. </xs:documentation>
  1026. </xs:annotation>
  1027. </xs:enumeration>
  1028. <xs:enumeration value="deleteTempQueue">
  1029. <xs:annotation>
  1030. <xs:documentation>
  1031. Deprecated. use deleteNonDurableQueue instead.
  1032. </xs:documentation>
  1033. </xs:annotation>
  1034. </xs:enumeration>
  1035. </xs:restriction>
  1036. </xs:simpleType>
  1037. <xs:complexType name="contextType">
  1038. <xs:annotation>
  1039. <xs:documentation>
  1040. The properties set on the JNDI Context used to lookup the JMS bridge resources.
  1041. In the absence of a context element, the JMS bridge will lookup resources locally on its own AS7 instance.
  1042. </xs:documentation>
  1043. </xs:annotation>
  1044. <xs:sequence>
  1045. <xs:element maxOccurs="unbounded" minOccurs="0" name="property" type="paramType" />
  1046. </xs:sequence>
  1047. </xs:complexType>
  1048. </xs:schema>