| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>ClientSession (ActiveMQ Artemis Website 2.33.0 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ClientSession (ActiveMQ Artemis Website 2.33.0 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":38,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":38,"i31":38,"i32":38,"i33":38,"i34":38,"i35":38,"i36":38,"i37":38,"i38":38,"i39":38,"i40":6,"i41":38,"i42":38,"i43":38,"i44":38,"i45":38,"i46":38,"i47":38,"i48":38,"i49":38,"i50":38,"i51":38,"i52":6,"i53":38,"i54":38,"i55":38,"i56":38,"i57":38,"i58":38,"i59":38,"i60":38,"i61":38,"i62":38,"i63":38,"i64":38,"i65":38,"i66":38,"i67":38,"i68":38,"i69":6,"i70":6,"i71":6,"i72":6,"i73":6,"i74":6,"i75":6,"i76":6,"i77":6,"i78":6,"i79":6,"i80":6,"i81":6,"i82":6,"i83":6,"i84":6,"i85":6,"i86":6,"i87":6}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ClientSession.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.activemq.artemis.api.core.client</a></div> |
| <h2 title="Interface ClientSession" class="title">Interface ClientSession</h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Superinterfaces:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang" class="externalLink">AutoCloseable</a></code>, <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true" title="class or interface in javax.transaction.xa" class="externalLink">XAResource</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public interface <span class="typeNameLabel">ClientSession</span> |
| extends <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true" title="class or interface in javax.transaction.xa" class="externalLink">XAResource</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang" class="externalLink">AutoCloseable</a></pre> |
| <div class="block">A ClientSession is a single-threaded parent object required for producing and consuming messages. |
| <p> |
| Only a single thread may be used to operate on the session and its child producers and consumers, |
| other than close() methods which may be called from another thread. Setting a MessageHandler on a |
| consumer renders the session, and all its child producers and consumers, to be dedicated to the |
| session-wide handler delivery thread of control.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Interface</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static interface </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="ClientSession.AddressQuery.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientSession.AddressQuery</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Information returned by a binding query</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static interface </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="ClientSession.QueueQuery.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientSession.QueueQuery</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Information returned by a queue query</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JMS_SESSION_CLIENT_ID_PROPERTY">JMS_SESSION_CLIENT_ID_PROPERTY</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Just like <a href="#JMS_SESSION_IDENTIFIER_PROPERTY"><code>JMS_SESSION_IDENTIFIER_PROPERTY</code></a> this is |
| used to identify the ClientID over JMS Session.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JMS_SESSION_IDENTIFIER_PROPERTY">JMS_SESSION_IDENTIFIER_PROPERTY</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">This is used to identify a ClientSession as used by the JMS Layer |
| The JMS Layer will add this through Meta-data, so the server or management layers |
| can identify session created over core API purely or through the JMS Layer</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="fields.inherited.from.class.javax.transaction.xa.XAResource"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface javax.transaction.xa.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true" title="class or interface in javax.transaction.xa" class="externalLink">XAResource</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#TMENDRSCAN" title="class or interface in javax.transaction.xa" class="externalLink">TMENDRSCAN</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#TMFAIL" title="class or interface in javax.transaction.xa" class="externalLink">TMFAIL</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#TMJOIN" title="class or interface in javax.transaction.xa" class="externalLink">TMJOIN</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#TMNOFLAGS" title="class or interface in javax.transaction.xa" class="externalLink">TMNOFLAGS</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#TMONEPHASE" title="class or interface in javax.transaction.xa" class="externalLink">TMONEPHASE</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#TMRESUME" title="class or interface in javax.transaction.xa" class="externalLink">TMRESUME</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#TMSTARTRSCAN" title="class or interface in javax.transaction.xa" class="externalLink">TMSTARTRSCAN</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#TMSUCCESS" title="class or interface in javax.transaction.xa" class="externalLink">TMSUCCESS</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#TMSUSPEND" title="class or interface in javax.transaction.xa" class="externalLink">TMSUSPEND</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#XA_OK" title="class or interface in javax.transaction.xa" class="externalLink">XA_OK</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#XA_RDONLY" title="class or interface in javax.transaction.xa" class="externalLink">XA_RDONLY</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addFailoverListener(org.apache.activemq.artemis.api.core.client.FailoverEventListener)">addFailoverListener</a></span>​(<a href="FailoverEventListener.html" title="interface in org.apache.activemq.artemis.api.core.client">FailoverEventListener</a> listener)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a FailoverEventListener to the session which is notified if a failover event occurs on the session.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addFailureListener(org.apache.activemq.artemis.api.core.client.SessionFailureListener)">addFailureListener</a></span>​(<a href="SessionFailureListener.html" title="interface in org.apache.activemq.artemis.api.core.client">SessionFailureListener</a> listener)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a FailureListener to the session which is notified if a failure occurs on the session.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addMetaData(java.lang.String,java.lang.String)">addMetaData</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> data)</code></th> |
| <td class="colLast"> |
| <div class="block">Attach any metadata to the session.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="ClientSession.AddressQuery.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientSession.AddressQuery</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addressQuery(org.apache.activemq.artemis.api.core.SimpleString)">addressQuery</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address)</code></th> |
| <td class="colLast"> |
| <div class="block">Queries information on a binding.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addUniqueMetaData(java.lang.String,java.lang.String)">addUniqueMetaData</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> data)</code></th> |
| <td class="colLast"> |
| <div class="block">Attach any metadata to the session.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#close()">close</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Closes the session.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#commit()">commit</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Commits the current transaction, blocking.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#commit(boolean)">commit</a></span>​(boolean block)</code></th> |
| <td class="colLast"> |
| <div class="block">Commits the current transaction.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createAddress(org.apache.activemq.artemis.api.core.SimpleString,java.util.EnumSet,boolean)">createAddress</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/EnumSet.html?is-external=true" title="class or interface in java.util" class="externalLink">EnumSet</a><<a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a>> routingTypes, |
| boolean autoCreated)</code></th> |
| <td class="colLast"> |
| <div class="block">Create Address with a single initial routing type</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createAddress(org.apache.activemq.artemis.api.core.SimpleString,java.util.Set,boolean)">createAddress</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a>> routingTypes, |
| boolean autoCreated)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createAddress(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,boolean)">createAddress</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| boolean autoCreated)</code></th> |
| <td class="colLast"> |
| <div class="block">Create Address with a single initial routing type</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createConsumer(java.lang.String)">createConsumer</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a ClientConsumer to consume messages from the queue with the given name.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createConsumer(java.lang.String,boolean)">createConsumer</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| boolean browseOnly)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a ClientConsumer to consume or browse messages from the queue with the given name.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createConsumer(java.lang.String,java.lang.String)">createConsumer</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a ClientConsumer to consume messages matching the filter from the queue with the given name.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createConsumer(java.lang.String,java.lang.String,boolean)">createConsumer</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter, |
| boolean browseOnly)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a ClientConsumer to consume or browse messages matching the filter from the queue with |
| the given name.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createConsumer(java.lang.String,java.lang.String,int,int,boolean)">createConsumer</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter, |
| int windowSize, |
| int maxRate, |
| boolean browseOnly)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a ClientConsumer to consume or browse messages matching the filter from the queue with |
| the given name.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createConsumer(org.apache.activemq.artemis.api.core.SimpleString)">createConsumer</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a ClientConsumer to consume message from the queue with the given name.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createConsumer(org.apache.activemq.artemis.api.core.SimpleString,boolean)">createConsumer</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| boolean browseOnly)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a ClientConsumer to consume or browse messages from the queue with the given name.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createConsumer(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString)">createConsumer</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a ClientConsumer to consume messages matching the filter from the queue with the given name.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createConsumer(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean)">createConsumer</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean browseOnly)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a ClientConsumer to consume or browse messages matching the filter from the queue with |
| the given name.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createConsumer(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,int,boolean)">createConsumer</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| int priority, |
| boolean browseOnly)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a ClientConsumer to consume or browse messages matching the filter from the queue with |
| the given name.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createConsumer(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,int,int,boolean)">createConsumer</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| int windowSize, |
| int maxRate, |
| boolean browseOnly)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a ClientConsumer to consume or browse messages matching the filter from the queue with |
| the given name.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createConsumer(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,int,int,int,boolean)">createConsumer</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| int priority, |
| int windowSize, |
| int maxRate, |
| boolean browseOnly)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a ClientConsumer to consume or browse messages matching the filter from the queue with |
| the given name.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code><a href="ClientMessage.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientMessage</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createMessage(boolean)">createMessage</a></span>​(boolean durable)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a ClientMessage.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code><a href="ClientMessage.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientMessage</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createMessage(byte,boolean)">createMessage</a></span>​(byte type, |
| boolean durable)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a ClientMessage.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code><a href="ClientMessage.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientMessage</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createMessage(byte,boolean,long,long,byte)">createMessage</a></span>​(byte type, |
| boolean durable, |
| long expiration, |
| long timestamp, |
| byte priority)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a ClientMessage.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code><a href="ClientProducer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientProducer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createProducer()">createProducer</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a producer with no default address.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code><a href="ClientProducer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientProducer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createProducer(java.lang.String)">createProducer</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a producer which sends messages to the given address</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code><a href="ClientProducer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientProducer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createProducer(org.apache.activemq.artemis.api.core.SimpleString)">createProducer</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a producer which sends messages to the given address</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code><a href="ClientProducer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientProducer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createProducer(org.apache.activemq.artemis.api.core.SimpleString,int)">createProducer</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| int rate)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a producer which sends messages to the given address</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(java.lang.String,java.lang.String)">createQueue</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(java.lang.String,java.lang.String,boolean)">createQueue</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| boolean durable)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(java.lang.String,java.lang.String,java.lang.String,boolean)">createQueue</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter, |
| boolean durable)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(java.lang.String,java.lang.String,java.lang.String,boolean,boolean)">createQueue</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter, |
| boolean durable, |
| boolean autoCreated)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(java.lang.String,org.apache.activemq.artemis.api.core.RoutingType,java.lang.String)">createQueue</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(java.lang.String,org.apache.activemq.artemis.api.core.RoutingType,java.lang.String,boolean)">createQueue</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| boolean durable)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(java.lang.String,org.apache.activemq.artemis.api.core.RoutingType,java.lang.String,java.lang.String,boolean)">createQueue</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter, |
| boolean durable)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(java.lang.String,org.apache.activemq.artemis.api.core.RoutingType,java.lang.String,java.lang.String,boolean,boolean)">createQueue</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter, |
| boolean durable, |
| boolean autoCreated)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(java.lang.String,org.apache.activemq.artemis.api.core.RoutingType,java.lang.String,java.lang.String,boolean,boolean,int,boolean)">createQueue</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter, |
| boolean durable, |
| boolean autoCreated, |
| int maxConsumers, |
| boolean purgeOnNoConsumers)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(java.lang.String,org.apache.activemq.artemis.api.core.RoutingType,java.lang.String,java.lang.String,boolean,boolean,int,boolean,java.lang.Boolean,java.lang.Boolean)">createQueue</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter, |
| boolean durable, |
| boolean autoCreated, |
| int maxConsumers, |
| boolean purgeOnNoConsumers, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> exclusive, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> lastValue)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(org.apache.activemq.artemis.api.core.QueueConfiguration)">createQueue</a></span>​(<a href="../QueueConfiguration.html" title="class in org.apache.activemq.artemis.api.core">QueueConfiguration</a> queueConfiguration)</code></th> |
| <td class="colLast"> |
| <div class="block">This method creates a queue based on the <a href="../QueueConfiguration.html" title="class in org.apache.activemq.artemis.api.core"><code>QueueConfiguration</code></a> input.</div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString)">createQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,boolean)">createQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| boolean durable)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean)">createQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean,boolean)">createQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable, |
| boolean autoCreated)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean,boolean,int,boolean)">createQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable, |
| boolean autoCreated, |
| int maxConsumers, |
| boolean purgeOnNoConsumers)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean,boolean,int,boolean,java.lang.Boolean,java.lang.Boolean)">createQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable, |
| boolean autoCreated, |
| int maxConsumers, |
| boolean purgeOnNoConsumers, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> exclusive, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> lastValue)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString)">createQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean)">createQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| boolean durable)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean,org.apache.activemq.artemis.api.core.QueueAttributes)">createQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| boolean autoCreated, |
| <a href="../QueueAttributes.html" title="class in org.apache.activemq.artemis.api.core">QueueAttributes</a> queueAttributes)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean)">createQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean,boolean)">createQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable, |
| boolean autoCreated)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i52" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createSharedQueue(org.apache.activemq.artemis.api.core.QueueConfiguration)">createSharedQueue</a></span>​(<a href="../QueueConfiguration.html" title="class in org.apache.activemq.artemis.api.core">QueueConfiguration</a> queueConfiguration)</code></th> |
| <td class="colLast"> |
| <div class="block">This method is essentially the same as <a href="#createQueue(org.apache.activemq.artemis.api.core.QueueConfiguration)"><code>createQueue(QueueConfiguration)</code></a> with a few key exceptions.</div> |
| </td> |
| </tr> |
| <tr id="i53" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createSharedQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,boolean)">createSharedQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| boolean durable)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i54" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createSharedQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean)">createSharedQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i55" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createSharedQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean,java.lang.Integer,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean)">createSharedQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a> maxConsumers, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> purgeOnNoConsumers, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> exclusive, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> lastValue)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i56" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createSharedQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean)">createSharedQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| boolean durable)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i57" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createSharedQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.QueueAttributes)">createSharedQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../QueueAttributes.html" title="class in org.apache.activemq.artemis.api.core">QueueAttributes</a> queueAttributes)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i58" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createSharedQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean)">createSharedQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i59" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTemporaryQueue(java.lang.String,java.lang.String)">createTemporaryQueue</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i60" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTemporaryQueue(java.lang.String,java.lang.String,java.lang.String)">createTemporaryQueue</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i61" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTemporaryQueue(java.lang.String,org.apache.activemq.artemis.api.core.RoutingType,java.lang.String)">createTemporaryQueue</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i62" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTemporaryQueue(java.lang.String,org.apache.activemq.artemis.api.core.RoutingType,java.lang.String,java.lang.String)">createTemporaryQueue</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i63" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTemporaryQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString)">createTemporaryQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i64" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTemporaryQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString)">createTemporaryQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i65" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTemporaryQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,int,boolean,java.lang.Boolean,java.lang.Boolean)">createTemporaryQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| int maxConsumers, |
| boolean purgeOnNoConsumers, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> exclusive, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> lastValue)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i66" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTemporaryQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString)">createTemporaryQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i67" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTemporaryQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.QueueAttributes)">createTemporaryQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../QueueAttributes.html" title="class in org.apache.activemq.artemis.api.core">QueueAttributes</a> queueAttributes)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i68" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTemporaryQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString)">createTemporaryQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span></div> |
| </td> |
| </tr> |
| <tr id="i69" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deleteQueue(java.lang.String)">deleteQueue</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName)</code></th> |
| <td class="colLast"> |
| <div class="block">Deletes the queue.</div> |
| </td> |
| </tr> |
| <tr id="i70" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deleteQueue(org.apache.activemq.artemis.api.core.SimpleString)">deleteQueue</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName)</code></th> |
| <td class="colLast"> |
| <div class="block">Deletes the queue.</div> |
| </td> |
| </tr> |
| <tr id="i71" class="rowColor"> |
| <td class="colFirst"><code><a href="ClientSessionFactory.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientSessionFactory</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSessionFactory()">getSessionFactory</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Return the sessionFactory used to created this Session.</div> |
| </td> |
| </tr> |
| <tr id="i72" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVersion()">getVersion</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the server's incrementingVersion.</div> |
| </td> |
| </tr> |
| <tr id="i73" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true" title="class or interface in javax.transaction.xa" class="externalLink">XAResource</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getXAResource()">getXAResource</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the XAResource associated to the session.</div> |
| </td> |
| </tr> |
| <tr id="i74" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAutoCommitAcks()">isAutoCommitAcks</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether the session will <em>automatically</em> commit its transaction every time a message is acknowledged |
| by a ClientConsumer created by this session, <code>false</code> else</div> |
| </td> |
| </tr> |
| <tr id="i75" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAutoCommitSends()">isAutoCommitSends</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether the session will <em>automatically</em> commit its transaction every time a message is sent |
| by a ClientProducer created by this session, <code>false</code> else</div> |
| </td> |
| </tr> |
| <tr id="i76" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isBlockOnAcknowledge()">isBlockOnAcknowledge</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether the ClientConsumer created by the session will <em>block</em> when they acknowledge a message.</div> |
| </td> |
| </tr> |
| <tr id="i77" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isClosed()">isClosed</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether the session is closed or not.</div> |
| </td> |
| </tr> |
| <tr id="i78" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isRollbackOnly()">isRollbackOnly</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns <code>true</code> if the current transaction has been flagged to rollback, <code>false</code> else.</div> |
| </td> |
| </tr> |
| <tr id="i79" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isXA()">isXA</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Return <code>true</code> if the session supports XA, <code>false</code> else.</div> |
| </td> |
| </tr> |
| <tr id="i80" class="altColor"> |
| <td class="colFirst"><code><a href="ClientSession.QueueQuery.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientSession.QueueQuery</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#queueQuery(org.apache.activemq.artemis.api.core.SimpleString)">queueQuery</a></span>​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName)</code></th> |
| <td class="colLast"> |
| <div class="block">Queries information on a queue.</div> |
| </td> |
| </tr> |
| <tr id="i81" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeFailoverListener(org.apache.activemq.artemis.api.core.client.FailoverEventListener)">removeFailoverListener</a></span>​(<a href="FailoverEventListener.html" title="interface in org.apache.activemq.artemis.api.core.client">FailoverEventListener</a> listener)</code></th> |
| <td class="colLast"> |
| <div class="block">Removes a FailoverEventListener to the session.</div> |
| </td> |
| </tr> |
| <tr id="i82" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeFailureListener(org.apache.activemq.artemis.api.core.client.SessionFailureListener)">removeFailureListener</a></span>​(<a href="SessionFailureListener.html" title="interface in org.apache.activemq.artemis.api.core.client">SessionFailureListener</a> listener)</code></th> |
| <td class="colLast"> |
| <div class="block">Removes a FailureListener to the session.</div> |
| </td> |
| </tr> |
| <tr id="i83" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rollback()">rollback</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Rolls back the current transaction.</div> |
| </td> |
| </tr> |
| <tr id="i84" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rollback(boolean)">rollback</a></span>​(boolean considerLastMessageAsDelivered)</code></th> |
| <td class="colLast"> |
| <div class="block">Rolls back the current transaction.</div> |
| </td> |
| </tr> |
| <tr id="i85" class="rowColor"> |
| <td class="colFirst"><code><a href="ClientSession.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientSession</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSendAcknowledgementHandler(org.apache.activemq.artemis.api.core.client.SendAcknowledgementHandler)">setSendAcknowledgementHandler</a></span>​(<a href="SendAcknowledgementHandler.html" title="interface in org.apache.activemq.artemis.api.core.client">SendAcknowledgementHandler</a> handler)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a <code>SendAcknowledgementHandler</code> for this session.</div> |
| </td> |
| </tr> |
| <tr id="i86" class="altColor"> |
| <td class="colFirst"><code><a href="ClientSession.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientSession</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#start()">start</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Starts the session.</div> |
| </td> |
| </tr> |
| <tr id="i87" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stop()">stop</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Stops the session.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.javax.transaction.xa.XAResource"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface javax.transaction.xa.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true" title="class or interface in javax.transaction.xa" class="externalLink">XAResource</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#commit(javax.transaction.xa.Xid,boolean)" title="class or interface in javax.transaction.xa" class="externalLink">commit</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#end(javax.transaction.xa.Xid,int)" title="class or interface in javax.transaction.xa" class="externalLink">end</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#forget(javax.transaction.xa.Xid)" title="class or interface in javax.transaction.xa" class="externalLink">forget</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#getTransactionTimeout()" title="class or interface in javax.transaction.xa" class="externalLink">getTransactionTimeout</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#isSameRM(javax.transaction.xa.XAResource)" title="class or interface in javax.transaction.xa" class="externalLink">isSameRM</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#prepare(javax.transaction.xa.Xid)" title="class or interface in javax.transaction.xa" class="externalLink">prepare</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#recover(int)" title="class or interface in javax.transaction.xa" class="externalLink">recover</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#rollback(javax.transaction.xa.Xid)" title="class or interface in javax.transaction.xa" class="externalLink">rollback</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#setTransactionTimeout(int)" title="class or interface in javax.transaction.xa" class="externalLink">setTransactionTimeout</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true#start(javax.transaction.xa.Xid,int)" title="class or interface in javax.transaction.xa" class="externalLink">start</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a id="JMS_SESSION_IDENTIFIER_PROPERTY"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>JMS_SESSION_IDENTIFIER_PROPERTY</h4> |
| <pre>static final <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> JMS_SESSION_IDENTIFIER_PROPERTY</pre> |
| <div class="block">This is used to identify a ClientSession as used by the JMS Layer |
| The JMS Layer will add this through Meta-data, so the server or management layers |
| can identify session created over core API purely or through the JMS Layer</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../../constant-values.html#org.apache.activemq.artemis.api.core.client.ClientSession.JMS_SESSION_IDENTIFIER_PROPERTY">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="JMS_SESSION_CLIENT_ID_PROPERTY"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>JMS_SESSION_CLIENT_ID_PROPERTY</h4> |
| <pre>static final <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> JMS_SESSION_CLIENT_ID_PROPERTY</pre> |
| <div class="block">Just like <a href="#JMS_SESSION_IDENTIFIER_PROPERTY"><code>JMS_SESSION_IDENTIFIER_PROPERTY</code></a> this is |
| used to identify the ClientID over JMS Session. |
| However this is only used when the JMS Session.clientID is set (which is optional). |
| With this property management tools and the server can identify the jms-client-id used over JMS</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../../constant-values.html#org.apache.activemq.artemis.api.core.client.ClientSession.JMS_SESSION_CLIENT_ID_PROPERTY">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="start()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>start</h4> |
| <pre class="methodSignature"><a href="ClientSession.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientSession</a> start() |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Starts the session. |
| The session must be started before ClientConsumers created by the session can consume messages from the queue.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while starting the session</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="stop()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>stop</h4> |
| <pre class="methodSignature">void stop() |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Stops the session. |
| ClientConsumers created by the session can not consume messages when the session is stopped.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while stopping the session</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="close()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>close</h4> |
| <pre class="methodSignature">void close() |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Closes the session.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/AutoCloseable.html?is-external=true#close()" title="class or interface in java.lang" class="externalLink">close</a></code> in interface <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang" class="externalLink">AutoCloseable</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while closing the session</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isClosed()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isClosed</h4> |
| <pre class="methodSignature">boolean isClosed()</pre> |
| <div class="block">Returns whether the session is closed or not.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the session is closed, <code>false</code> else</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="addFailureListener(org.apache.activemq.artemis.api.core.client.SessionFailureListener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addFailureListener</h4> |
| <pre class="methodSignature">void addFailureListener​(<a href="SessionFailureListener.html" title="interface in org.apache.activemq.artemis.api.core.client">SessionFailureListener</a> listener)</pre> |
| <div class="block">Adds a FailureListener to the session which is notified if a failure occurs on the session.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - the listener to add</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="removeFailureListener(org.apache.activemq.artemis.api.core.client.SessionFailureListener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeFailureListener</h4> |
| <pre class="methodSignature">boolean removeFailureListener​(<a href="SessionFailureListener.html" title="interface in org.apache.activemq.artemis.api.core.client">SessionFailureListener</a> listener)</pre> |
| <div class="block">Removes a FailureListener to the session.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - the listener to remove</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the listener was removed, <code>false</code> else</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="addFailoverListener(org.apache.activemq.artemis.api.core.client.FailoverEventListener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addFailoverListener</h4> |
| <pre class="methodSignature">void addFailoverListener​(<a href="FailoverEventListener.html" title="interface in org.apache.activemq.artemis.api.core.client">FailoverEventListener</a> listener)</pre> |
| <div class="block">Adds a FailoverEventListener to the session which is notified if a failover event occurs on the session.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - the listener to add</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="removeFailoverListener(org.apache.activemq.artemis.api.core.client.FailoverEventListener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeFailoverListener</h4> |
| <pre class="methodSignature">boolean removeFailoverListener​(<a href="FailoverEventListener.html" title="interface in org.apache.activemq.artemis.api.core.client">FailoverEventListener</a> listener)</pre> |
| <div class="block">Removes a FailoverEventListener to the session.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - the listener to remove</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the listener was removed, <code>false</code> else</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getVersion()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getVersion</h4> |
| <pre class="methodSignature">int getVersion()</pre> |
| <div class="block">Returns the server's incrementingVersion.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the server's <code>incrementingVersion</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createAddress(org.apache.activemq.artemis.api.core.SimpleString,java.util.EnumSet,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAddress</h4> |
| <pre class="methodSignature">void createAddress​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/EnumSet.html?is-external=true" title="class or interface in java.util" class="externalLink">EnumSet</a><<a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a>> routingTypes, |
| boolean autoCreated) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Create Address with a single initial routing type</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - </dd> |
| <dd><code>autoCreated</code> - </dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createAddress(org.apache.activemq.artemis.api.core.SimpleString,java.util.Set,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAddress</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createAddress​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a>> routingTypes, |
| boolean autoCreated) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Create Address with a single initial routing type</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - </dd> |
| <dd><code>autoCreated</code> - </dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createAddress(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createAddress</h4> |
| <pre class="methodSignature">void createAddress​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| boolean autoCreated) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Create Address with a single initial routing type</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - </dd> |
| <dd><code>routingType</code> - </dd> |
| <dd><code>autoCreated</code> - </dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(org.apache.activemq.artemis.api.core.QueueConfiguration)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature">void createQueue​(<a href="../QueueConfiguration.html" title="class in org.apache.activemq.artemis.api.core">QueueConfiguration</a> queueConfiguration) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">This method creates a queue based on the <a href="../QueueConfiguration.html" title="class in org.apache.activemq.artemis.api.core"><code>QueueConfiguration</code></a> input. See <a href="../QueueConfiguration.html" title="class in org.apache.activemq.artemis.api.core"><code>QueueConfiguration</code></a> for more |
| details on configuration specifics. |
| <p> |
| Some static defaults will be enforced for properties which are not set on the <code>QueueConfiguration</code>: |
| <p><ul> |
| <li><code>transient</code> : <code>false</code> |
| <li><code>temporary</code> : <code>false</code> |
| <li><code>durable</code> : <code>true</code> |
| <li><code>autoCreated</code> : <code>false</code> |
| <li><code>internal</code> : <code>false</code> |
| <li><code>configurationManaged</code> : <code>false</code> |
| <li><code>maxConsumers</code> : <a href="../../config/ActiveMQDefaultConfiguration.html#getDefaultMaxQueueConsumers()"><code>ActiveMQDefaultConfiguration.getDefaultMaxQueueConsumers()</code></a> |
| <li><code>purgeOnNoConsumers</code> : <a href="../../config/ActiveMQDefaultConfiguration.html#getDefaultPurgeOnNoConsumers()"><code>ActiveMQDefaultConfiguration.getDefaultPurgeOnNoConsumers()</code></a> |
| </ul><p> |
| Some dynamic defaults will be enforced via address-settings for the corresponding unset properties: |
| <p><ul> |
| <li><code>exclusive</code> |
| <li><code>groupRebalance</code> |
| <li><code>groupBuckets</code> |
| <li><code>groupFirstKey</code> |
| <li><code>lastValue</code> |
| <li><code>lastValueKey</code> |
| <li><code>nonDestructive</code> |
| <li><code>consumersBeforeDispatch</code> |
| <li><code>delayBeforeDispatch</code> |
| <li><code>ringSize</code> |
| <li><code>routingType</code> |
| <li><code>autoCreateAddress</code> |
| <li><code>autoDelete</code> (only set if queue was auto-created) |
| <li><code>autoDeleteDelay</code> |
| <li><code>autoDeleteMessageCount</code> |
| </ul><p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>queueConfiguration</code> - the configuration to use when creating the queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createSharedQueue(org.apache.activemq.artemis.api.core.QueueConfiguration)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSharedQueue</h4> |
| <pre class="methodSignature">void createSharedQueue​(<a href="../QueueConfiguration.html" title="class in org.apache.activemq.artemis.api.core">QueueConfiguration</a> queueConfiguration) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">This method is essentially the same as <a href="#createQueue(org.apache.activemq.artemis.api.core.QueueConfiguration)"><code>createQueue(QueueConfiguration)</code></a> with a few key exceptions. |
| <p> |
| If <code>durable</code> is <code>true</code> then: |
| <p><ul> |
| <li><code>transient</code> will be forced to <code>false</code> |
| <li><code>temporary</code> will be forced to <code>false</code> |
| </ul><p> |
| If <code>durable</code> is <code>false</code> then: |
| <p><ul> |
| <li><code>transient</code> will be forced to <code>true</code> |
| <li><code>temporary</code> will be forced to <code>true</code> |
| </ul><p> |
| In all instances <code>autoCreated</code> will be forced to <code>false</code> and <code>autoCreatedAddress</code> will be forced |
| to <code>true</code>.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#createQueue(org.apache.activemq.artemis.api.core.QueueConfiguration)"><code>createQueue(QueueConfiguration)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| boolean durable) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>durable</code> - whether the queue is durable or not</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createSharedQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSharedQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createSharedQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| boolean durable) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a transient queue. A queue that will exist as long as there are consumers. When the last consumer is closed the queue will be deleted |
| <p> |
| Notice: you will get an exception if the address or the filter doesn't match to an already existent queue</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>durable</code> - if the queue is durable</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createSharedQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSharedQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createSharedQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a transient queue. A queue that will exist as long as there are consumers. When the last consumer is closed the queue will be deleted |
| <p> |
| Notice: you will get an exception if the address or the filter doesn't match to an already existent queue</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - whether the queue is durable or not</dd> |
| <dd><code>durable</code> - if the queue is durable</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(java.lang.String,java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| boolean durable) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>durable</code> - whether the queue is durable or not</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em> queue <em>non-durable</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em> queue <em>non-durable</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - only messages which match this filter will be put in the queue</dd> |
| <dd><code>durable</code> - whether the queue is durable or not</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(java.lang.String,java.lang.String,java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter, |
| boolean durable) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em>queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>durable</code> - whether the queue is durable or not</dd> |
| <dd><code>filter</code> - only messages which match this filter will be put in the queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable, |
| boolean autoCreated) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - only messages which match this filter will be put in the queue</dd> |
| <dd><code>durable</code> - whether the queue is durable or not</dd> |
| <dd><code>autoCreated</code> - whether to mark this queue as autoCreated or not</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(java.lang.String,java.lang.String,java.lang.String,boolean,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter, |
| boolean durable, |
| boolean autoCreated) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em>queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - only messages which match this filter will be put in the queue</dd> |
| <dd><code>durable</code> - whether the queue is durable or not</dd> |
| <dd><code>autoCreated</code> - whether to mark this queue as autoCreated or not</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createTemporaryQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTemporaryQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createTemporaryQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>temporary</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createTemporaryQueue(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTemporaryQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createTemporaryQueue​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>temporary</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createTemporaryQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTemporaryQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createTemporaryQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>temporary</em> queue with a filter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - only messages which match this filter will be put in the queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createTemporaryQueue(java.lang.String,java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTemporaryQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createTemporaryQueue​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>temporary</em> queue with a filter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - only messages which match this filter will be put in the queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| boolean durable) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>durable</code> - whether the queue is durable or not</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createSharedQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSharedQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createSharedQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| boolean durable) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a transient queue. A queue that will exist as long as there are consumers. When the last consumer is closed the queue will be deleted |
| <p> |
| Notice: you will get an exception if the address or the filter doesn't match to an already existent queue</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>durable</code> - if the queue is durable</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createSharedQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSharedQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createSharedQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a transient queue. A queue that will exist as long as there are consumers. When the last consumer is closed the queue will be deleted |
| <p> |
| Notice: you will get an exception if the address or the filter doesn't match to an already existent queue</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - whether the queue is durable or not</dd> |
| <dd><code>durable</code> - if the queue is durable</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createSharedQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean,java.lang.Integer,java.lang.Boolean,java.lang.Boolean,java.lang.Boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSharedQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createSharedQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a> maxConsumers, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> purgeOnNoConsumers, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> exclusive, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> lastValue) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates Shared queue. A queue that will exist as long as there are consumers or is durable.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - whether the queue is durable or not</dd> |
| <dd><code>durable</code> - if the queue is durable</dd> |
| <dd><code>maxConsumers</code> - how many concurrent consumers will be allowed on this queue</dd> |
| <dd><code>purgeOnNoConsumers</code> - whether to delete the contents of the queue when the last consumer disconnects</dd> |
| <dd><code>exclusive</code> - if the queue is exclusive queue</dd> |
| <dd><code>lastValue</code> - if the queue is last value queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createSharedQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.QueueAttributes)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSharedQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createSharedQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../QueueAttributes.html" title="class in org.apache.activemq.artemis.api.core">QueueAttributes</a> queueAttributes) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates Shared queue. A queue that will exist as long as there are consumers or is durable.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>queueAttributes</code> - attributes for the queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(java.lang.String,org.apache.activemq.artemis.api.core.RoutingType,java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| boolean durable) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>durable</code> - whether the queue is durable or not</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(java.lang.String,org.apache.activemq.artemis.api.core.RoutingType,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em> queue <em>non-durable</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em> queue <em>non-durable</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - only messages which match this filter will be put in the queue</dd> |
| <dd><code>durable</code> - whether the queue is durable or not</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(java.lang.String,org.apache.activemq.artemis.api.core.RoutingType,java.lang.String,java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter, |
| boolean durable) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em>queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - only messages which match this filter will be put in the queue</dd> |
| <dd><code>durable</code> - whether the queue is durable or not</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable, |
| boolean autoCreated) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - only messages which match this filter will be put in the queue</dd> |
| <dd><code>durable</code> - whether the queue is durable or not</dd> |
| <dd><code>autoCreated</code> - whether to mark this queue as autoCreated or not</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean,boolean,int,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable, |
| boolean autoCreated, |
| int maxConsumers, |
| boolean purgeOnNoConsumers) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - only messages which match this filter will be put in the queue</dd> |
| <dd><code>durable</code> - whether the queue is durable or not</dd> |
| <dd><code>autoCreated</code> - whether to mark this queue as autoCreated or not</dd> |
| <dd><code>maxConsumers</code> - how many concurrent consumers will be allowed on this queue</dd> |
| <dd><code>purgeOnNoConsumers</code> - whether to delete the contents of the queue when the last consumer disconnects</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean,boolean,int,boolean,java.lang.Boolean,java.lang.Boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean durable, |
| boolean autoCreated, |
| int maxConsumers, |
| boolean purgeOnNoConsumers, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> exclusive, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> lastValue) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - only messages which match this filter will be put in the queue</dd> |
| <dd><code>durable</code> - whether the queue is durable or not</dd> |
| <dd><code>autoCreated</code> - whether to mark this queue as autoCreated or not</dd> |
| <dd><code>maxConsumers</code> - how many concurrent consumers will be allowed on this queue</dd> |
| <dd><code>purgeOnNoConsumers</code> - whether to delete the contents of the queue when the last consumer disconnects</dd> |
| <dd><code>exclusive</code> - whether the queue should be exclusive</dd> |
| <dd><code>lastValue</code> - whether the queue should be lastValue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean,org.apache.activemq.artemis.api.core.QueueAttributes)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| boolean autoCreated, |
| <a href="../QueueAttributes.html" title="class in org.apache.activemq.artemis.api.core">QueueAttributes</a> queueAttributes) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>autoCreated</code> - whether to mark this queue as autoCreated or not</dd> |
| <dd><code>queueAttributes</code> - attributes for the queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(java.lang.String,org.apache.activemq.artemis.api.core.RoutingType,java.lang.String,java.lang.String,boolean,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter, |
| boolean durable, |
| boolean autoCreated) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em>queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - only messages which match this filter will be put in the queue</dd> |
| <dd><code>durable</code> - whether the queue is durable or not</dd> |
| <dd><code>autoCreated</code> - whether to mark this queue as autoCreated or not</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(java.lang.String,org.apache.activemq.artemis.api.core.RoutingType,java.lang.String,java.lang.String,boolean,boolean,int,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter, |
| boolean durable, |
| boolean autoCreated, |
| int maxConsumers, |
| boolean purgeOnNoConsumers) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em>queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - only messages which match this filter will be put in the queue</dd> |
| <dd><code>durable</code> - whether the queue is durable or not</dd> |
| <dd><code>autoCreated</code> - whether to mark this queue as autoCreated or not</dd> |
| <dd><code>maxConsumers</code> - how many concurrent consumers will be allowed on this queue</dd> |
| <dd><code>purgeOnNoConsumers</code> - whether to delete the contents of the queue when the last consumer disconnects</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createQueue(java.lang.String,org.apache.activemq.artemis.api.core.RoutingType,java.lang.String,java.lang.String,boolean,boolean,int,boolean,java.lang.Boolean,java.lang.Boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createQueue​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter, |
| boolean durable, |
| boolean autoCreated, |
| int maxConsumers, |
| boolean purgeOnNoConsumers, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> exclusive, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> lastValue) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>non-temporary</em>queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - only messages which match this filter will be put in the queue</dd> |
| <dd><code>durable</code> - whether the queue is durable or not</dd> |
| <dd><code>autoCreated</code> - whether to mark this queue as autoCreated or not</dd> |
| <dd><code>maxConsumers</code> - how many concurrent consumers will be allowed on this queue</dd> |
| <dd><code>purgeOnNoConsumers</code> - whether to delete the contents of the queue when the last consumer disconnects</dd> |
| <dd><code>exclusive</code> - whether the queue should be exclusive</dd> |
| <dd><code>lastValue</code> - whether the queue should be lastValue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createTemporaryQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTemporaryQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createTemporaryQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>temporary</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createTemporaryQueue(java.lang.String,org.apache.activemq.artemis.api.core.RoutingType,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTemporaryQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createTemporaryQueue​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>temporary</em> queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createTemporaryQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,int,boolean,java.lang.Boolean,java.lang.Boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTemporaryQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createTemporaryQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| int maxConsumers, |
| boolean purgeOnNoConsumers, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> exclusive, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a> lastValue) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>temporary</em> queue with a filter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - only messages which match this filter will be put in the queue</dd> |
| <dd><code>maxConsumers</code> - how many concurrent consumers will be allowed on this queue</dd> |
| <dd><code>purgeOnNoConsumers</code> - whether to delete the contents of the queue when the last consumer disconnects</dd> |
| <dd><code>exclusive</code> - if the queue is exclusive queue</dd> |
| <dd><code>lastValue</code> - if the queue is last value queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createTemporaryQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.QueueAttributes)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTemporaryQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createTemporaryQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../QueueAttributes.html" title="class in org.apache.activemq.artemis.api.core">QueueAttributes</a> queueAttributes) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>temporary</em> queue with a filter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>queueAttributes</code> - attributes for the queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createTemporaryQueue(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.RoutingType,org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTemporaryQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createTemporaryQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>temporary</em> queue with a filter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - only messages which match this filter will be put in the queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createTemporaryQueue(java.lang.String,org.apache.activemq.artemis.api.core.RoutingType,java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTemporaryQueue</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| void createTemporaryQueue​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address, |
| <a href="../RoutingType.html" title="enum in org.apache.activemq.artemis.api.core">RoutingType</a> routingType, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div> |
| <div class="block">Creates a <em>temporary</em> queue with a filter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the queue will be bound to this address</dd> |
| <dd><code>routingType</code> - the routing type for this queue, MULTICAST or ANYCAST</dd> |
| <dd><code>queueName</code> - the name of the queue</dd> |
| <dd><code>filter</code> - only messages which match this filter will be put in the queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - in an exception occurs while creating the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="deleteQueue(org.apache.activemq.artemis.api.core.SimpleString)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deleteQueue</h4> |
| <pre class="methodSignature">void deleteQueue​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Deletes the queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>queueName</code> - the name of the queue to delete</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if there is no queue for the given name or if the queue has consumers</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="deleteQueue(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deleteQueue</h4> |
| <pre class="methodSignature">void deleteQueue​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Deletes the queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>queueName</code> - the name of the queue to delete</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if there is no queue for the given name or if the queue has consumers</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createConsumer(org.apache.activemq.artemis.api.core.SimpleString)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConsumer</h4> |
| <pre class="methodSignature"><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a> createConsumer​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Creates a ClientConsumer to consume message from the queue with the given name.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>queueName</code> - name of the queue to consume messages from</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientConsumer</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while creating the ClientConsumer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createConsumer(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConsumer</h4> |
| <pre class="methodSignature"><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a> createConsumer​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Creates a ClientConsumer to consume messages from the queue with the given name.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>queueName</code> - name of the queue to consume messages from</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientConsumer</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while creating the ClientConsumer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createConsumer(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConsumer</h4> |
| <pre class="methodSignature"><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a> createConsumer​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Creates a ClientConsumer to consume messages matching the filter from the queue with the given name.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>queueName</code> - name of the queue to consume messages from</dd> |
| <dd><code>filter</code> - only messages which match this filter will be consumed</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientConsumer</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while creating the ClientConsumer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createConsumer(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConsumer</h4> |
| <pre class="methodSignature"><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a> createConsumer​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Creates a ClientConsumer to consume messages matching the filter from the queue with the given name.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>queueName</code> - name of the queue to consume messages from</dd> |
| <dd><code>filter</code> - only messages which match this filter will be consumed</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientConsumer</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while creating the ClientConsumer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createConsumer(org.apache.activemq.artemis.api.core.SimpleString,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConsumer</h4> |
| <pre class="methodSignature"><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a> createConsumer​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| boolean browseOnly) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Creates a ClientConsumer to consume or browse messages from the queue with the given name. |
| <p> |
| If <code>browseOnly</code> is <code>true</code>, the ClientConsumer will receive the messages |
| from the queue but they will not be consumed (the messages will remain in the queue). Note |
| that paged messages will not be in the queue, and will therefore not be visible if |
| <code>browseOnly</code> is <code>true</code>. |
| <p> |
| If <code>browseOnly</code> is <code>false</code>, the ClientConsumer will behave like consume |
| the messages from the queue and the messages will effectively be removed from the queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>queueName</code> - name of the queue to consume messages from</dd> |
| <dd><code>browseOnly</code> - whether the ClientConsumer will only browse the queue or consume messages.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientConsumer</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while creating the ClientConsumer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createConsumer(java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConsumer</h4> |
| <pre class="methodSignature"><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a> createConsumer​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| boolean browseOnly) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Creates a ClientConsumer to consume or browse messages from the queue with the given name. |
| <p> |
| If <code>browseOnly</code> is <code>true</code>, the ClientConsumer will receive the messages |
| from the queue but they will not be consumed (the messages will remain in the queue). Note |
| that paged messages will not be in the queue, and will therefore not be visible if |
| <code>browseOnly</code> is <code>true</code>. |
| <p> |
| If <code>browseOnly</code> is <code>false</code>, the ClientConsumer will behave like consume |
| the messages from the queue and the messages will effectively be removed from the queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>queueName</code> - name of the queue to consume messages from</dd> |
| <dd><code>browseOnly</code> - whether the ClientConsumer will only browse the queue or consume messages.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientConsumer</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while creating the ClientConsumer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createConsumer(java.lang.String,java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConsumer</h4> |
| <pre class="methodSignature"><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a> createConsumer​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter, |
| boolean browseOnly) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Creates a ClientConsumer to consume or browse messages matching the filter from the queue with |
| the given name. |
| <p> |
| If <code>browseOnly</code> is <code>true</code>, the ClientConsumer will receive the messages |
| from the queue but they will not be consumed (the messages will remain in the queue). Note |
| that paged messages will not be in the queue, and will therefore not be visible if |
| <code>browseOnly</code> is <code>true</code>. |
| <p> |
| If <code>browseOnly</code> is <code>false</code>, the ClientConsumer will behave like consume |
| the messages from the queue and the messages will effectively be removed from the queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>queueName</code> - name of the queue to consume messages from</dd> |
| <dd><code>filter</code> - only messages which match this filter will be consumed</dd> |
| <dd><code>browseOnly</code> - whether the ClientConsumer will only browse the queue or consume messages.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientConsumer</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while creating the ClientConsumer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createConsumer(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConsumer</h4> |
| <pre class="methodSignature"><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a> createConsumer​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| boolean browseOnly) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Creates a ClientConsumer to consume or browse messages matching the filter from the queue with |
| the given name. |
| <p> |
| If <code>browseOnly</code> is <code>true</code>, the ClientConsumer will receive the messages |
| from the queue but they will not be consumed (the messages will remain in the queue). Note |
| that paged messages will not be in the queue, and will therefore not be visible if |
| <code>browseOnly</code> is <code>true</code>. |
| <p> |
| If <code>browseOnly</code> is <code>false</code>, the ClientConsumer will behave like consume |
| the messages from the queue and the messages will effectively be removed from the queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>queueName</code> - name of the queue to consume messages from</dd> |
| <dd><code>filter</code> - only messages which match this filter will be consumed</dd> |
| <dd><code>browseOnly</code> - whether the ClientConsumer will only browse the queue or consume messages.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientConsumer</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while creating the ClientConsumer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createConsumer(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,int,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConsumer</h4> |
| <pre class="methodSignature"><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a> createConsumer​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| int priority, |
| boolean browseOnly) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Creates a ClientConsumer to consume or browse messages matching the filter from the queue with |
| the given name. |
| <p> |
| If <code>browseOnly</code> is <code>true</code>, the ClientConsumer will receive the messages |
| from the queue but they will not be consumed (the messages will remain in the queue). Note |
| that paged messages will not be in the queue, and will therefore not be visible if |
| <code>browseOnly</code> is <code>true</code>. |
| <p> |
| If <code>browseOnly</code> is <code>false</code>, the ClientConsumer will behave like consume |
| the messages from the queue and the messages will effectively be removed from the queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>queueName</code> - name of the queue to consume messages from</dd> |
| <dd><code>filter</code> - only messages which match this filter will be consumed</dd> |
| <dd><code>priority</code> - the consumer priority</dd> |
| <dd><code>browseOnly</code> - whether the ClientConsumer will only browse the queue or consume messages.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientConsumer</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while creating the ClientConsumer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createConsumer(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,int,int,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConsumer</h4> |
| <pre class="methodSignature"><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a> createConsumer​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| int windowSize, |
| int maxRate, |
| boolean browseOnly) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Creates a ClientConsumer to consume or browse messages matching the filter from the queue with |
| the given name. |
| <p> |
| If <code>browseOnly</code> is <code>true</code>, the ClientConsumer will receive the messages |
| from the queue but they will not be consumed (the messages will remain in the queue). Note |
| that paged messages will not be in the queue, and will therefore not be visible if |
| <code>browseOnly</code> is <code>true</code>. |
| <p> |
| If <code>browseOnly</code> is <code>false</code>, the ClientConsumer will behave like consume |
| the messages from the queue and the messages will effectively be removed from the queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>queueName</code> - name of the queue to consume messages from</dd> |
| <dd><code>filter</code> - only messages which match this filter will be consumed</dd> |
| <dd><code>windowSize</code> - the consumer window size</dd> |
| <dd><code>maxRate</code> - the maximum rate to consume messages</dd> |
| <dd><code>browseOnly</code> - whether the ClientConsumer will only browse the queue or consume messages.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientConsumer</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while creating the ClientConsumer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createConsumer(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.SimpleString,int,int,int,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConsumer</h4> |
| <pre class="methodSignature"><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a> createConsumer​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName, |
| <a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> filter, |
| int priority, |
| int windowSize, |
| int maxRate, |
| boolean browseOnly) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Creates a ClientConsumer to consume or browse messages matching the filter from the queue with |
| the given name. |
| <p> |
| If <code>browseOnly</code> is <code>true</code>, the ClientConsumer will receive the messages |
| from the queue but they will not be consumed (the messages will remain in the queue). Note |
| that paged messages will not be in the queue, and will therefore not be visible if |
| <code>browseOnly</code> is <code>true</code>. |
| <p> |
| If <code>browseOnly</code> is <code>false</code>, the ClientConsumer will behave like consume |
| the messages from the queue and the messages will effectively be removed from the queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>queueName</code> - name of the queue to consume messages from</dd> |
| <dd><code>filter</code> - only messages which match this filter will be consumed</dd> |
| <dd><code>priority</code> - the consumer priority</dd> |
| <dd><code>windowSize</code> - the consumer window size</dd> |
| <dd><code>maxRate</code> - the maximum rate to consume messages</dd> |
| <dd><code>browseOnly</code> - whether the ClientConsumer will only browse the queue or consume messages.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientConsumer</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while creating the ClientConsumer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createConsumer(java.lang.String,java.lang.String,int,int,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConsumer</h4> |
| <pre class="methodSignature"><a href="ClientConsumer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientConsumer</a> createConsumer​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> queueName, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> filter, |
| int windowSize, |
| int maxRate, |
| boolean browseOnly) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Creates a ClientConsumer to consume or browse messages matching the filter from the queue with |
| the given name. |
| <p> |
| If <code>browseOnly</code> is <code>true</code>, the ClientConsumer will receive the messages |
| from the queue but they will not be consumed (the messages will remain in the queue). Note |
| that paged messages will not be in the queue, and will therefore not be visible if |
| <code>browseOnly</code> is <code>true</code>. |
| <p> |
| If <code>browseOnly</code> is <code>false</code>, the ClientConsumer will behave like consume |
| the messages from the queue and the messages will effectively be removed from the queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>queueName</code> - name of the queue to consume messages from</dd> |
| <dd><code>filter</code> - only messages which match this filter will be consumed</dd> |
| <dd><code>windowSize</code> - the consumer window size</dd> |
| <dd><code>maxRate</code> - the maximum rate to consume messages</dd> |
| <dd><code>browseOnly</code> - whether the ClientConsumer will only browse the queue or consume messages.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientConsumer</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while creating the ClientConsumer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createProducer()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createProducer</h4> |
| <pre class="methodSignature"><a href="ClientProducer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientProducer</a> createProducer() |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Creates a producer with no default address. |
| Address must be specified every time a message is sent</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientProducer</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="ClientProducer.html#send(org.apache.activemq.artemis.api.core.SimpleString,org.apache.activemq.artemis.api.core.Message)"><code>ClientProducer.send(SimpleString, org.apache.activemq.artemis.api.core.Message)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createProducer(org.apache.activemq.artemis.api.core.SimpleString)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createProducer</h4> |
| <pre class="methodSignature"><a href="ClientProducer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientProducer</a> createProducer​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Creates a producer which sends messages to the given address</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the address to send messages to</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientProducer</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while creating the ClientProducer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createProducer(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createProducer</h4> |
| <pre class="methodSignature"><a href="ClientProducer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientProducer</a> createProducer​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> address) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Creates a producer which sends messages to the given address</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the address to send messages to</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientProducer</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while creating the ClientProducer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createProducer(org.apache.activemq.artemis.api.core.SimpleString,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createProducer</h4> |
| <pre class="methodSignature"><a href="ClientProducer.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientProducer</a> createProducer​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address, |
| int rate) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Creates a producer which sends messages to the given address</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the address to send messages to</dd> |
| <dd><code>rate</code> - the producer rate</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientProducer</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while creating the ClientProducer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createMessage(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createMessage</h4> |
| <pre class="methodSignature"><a href="ClientMessage.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientMessage</a> createMessage​(boolean durable)</pre> |
| <div class="block">Creates a ClientMessage.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>durable</code> - whether the created message is durable or not</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientMessage</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createMessage(byte,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createMessage</h4> |
| <pre class="methodSignature"><a href="ClientMessage.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientMessage</a> createMessage​(byte type, |
| boolean durable)</pre> |
| <div class="block">Creates a ClientMessage.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>type</code> - type of the message</dd> |
| <dd><code>durable</code> - whether the created message is durable or not</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientMessage</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="createMessage(byte,boolean,long,long,byte)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createMessage</h4> |
| <pre class="methodSignature"><a href="ClientMessage.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientMessage</a> createMessage​(byte type, |
| boolean durable, |
| long expiration, |
| long timestamp, |
| byte priority)</pre> |
| <div class="block">Creates a ClientMessage.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>type</code> - type of the message</dd> |
| <dd><code>durable</code> - whether the created message is durable or not</dd> |
| <dd><code>expiration</code> - the message expiration</dd> |
| <dd><code>timestamp</code> - the message timestamp</dd> |
| <dd><code>priority</code> - the message priority (between 0 and 9 inclusive)</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ClientMessage</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="queueQuery(org.apache.activemq.artemis.api.core.SimpleString)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>queueQuery</h4> |
| <pre class="methodSignature"><a href="ClientSession.QueueQuery.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientSession.QueueQuery</a> queueQuery​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> queueName) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Queries information on a queue.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>queueName</code> - the name of the queue to query</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a QueueQuery containing information on the given queue</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while querying the queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="addressQuery(org.apache.activemq.artemis.api.core.SimpleString)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addressQuery</h4> |
| <pre class="methodSignature"><a href="ClientSession.AddressQuery.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientSession.AddressQuery</a> addressQuery​(<a href="../SimpleString.html" title="class in org.apache.activemq.artemis.api.core">SimpleString</a> address) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Queries information on a binding.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>address</code> - the address of the biding to query</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an AddressQuery containing information on the binding attached to the given address</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while querying the binding</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getXAResource()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getXAResource</h4> |
| <pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.transaction.xa/javax/transaction/xa/XAResource.html?is-external=true" title="class or interface in javax.transaction.xa" class="externalLink">XAResource</a> getXAResource()</pre> |
| <div class="block">Returns the XAResource associated to the session.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the XAResource associated to the session</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isXA()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isXA</h4> |
| <pre class="methodSignature">boolean isXA()</pre> |
| <div class="block">Return <code>true</code> if the session supports XA, <code>false</code> else.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the session supports XA, <code>false</code> else.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="commit()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>commit</h4> |
| <pre class="methodSignature">void commit() |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Commits the current transaction, blocking.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while committing the transaction</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="commit(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>commit</h4> |
| <pre class="methodSignature">void commit​(boolean block) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Commits the current transaction.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>block</code> - if the commit will be blocking or not.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while committing the transaction</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="rollback()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rollback</h4> |
| <pre class="methodSignature">void rollback() |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Rolls back the current transaction.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while rolling back the transaction</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="rollback(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rollback</h4> |
| <pre class="methodSignature">void rollback​(boolean considerLastMessageAsDelivered) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Rolls back the current transaction.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>considerLastMessageAsDelivered</code> - the first message on deliveringMessage Buffer is considered as delivered</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code> - if an exception occurs while rolling back the transaction</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isRollbackOnly()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isRollbackOnly</h4> |
| <pre class="methodSignature">boolean isRollbackOnly()</pre> |
| <div class="block">Returns <code>true</code> if the current transaction has been flagged to rollback, <code>false</code> else.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the current transaction has been flagged to rollback, <code>false</code> else.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isAutoCommitSends()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isAutoCommitSends</h4> |
| <pre class="methodSignature">boolean isAutoCommitSends()</pre> |
| <div class="block">Returns whether the session will <em>automatically</em> commit its transaction every time a message is sent |
| by a ClientProducer created by this session, <code>false</code> else</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the session <em>automatically</em> commit its transaction every time a message is sent, <code>false</code> else</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isAutoCommitAcks()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isAutoCommitAcks</h4> |
| <pre class="methodSignature">boolean isAutoCommitAcks()</pre> |
| <div class="block">Returns whether the session will <em>automatically</em> commit its transaction every time a message is acknowledged |
| by a ClientConsumer created by this session, <code>false</code> else</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the session <em>automatically</em> commit its transaction every time a message is acknowledged, <code>false</code> else</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isBlockOnAcknowledge()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isBlockOnAcknowledge</h4> |
| <pre class="methodSignature">boolean isBlockOnAcknowledge()</pre> |
| <div class="block">Returns whether the ClientConsumer created by the session will <em>block</em> when they acknowledge a message.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the session's ClientConsumer block when they acknowledge a message, <code>false</code> else</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setSendAcknowledgementHandler(org.apache.activemq.artemis.api.core.client.SendAcknowledgementHandler)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSendAcknowledgementHandler</h4> |
| <pre class="methodSignature"><a href="ClientSession.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientSession</a> setSendAcknowledgementHandler​(<a href="SendAcknowledgementHandler.html" title="interface in org.apache.activemq.artemis.api.core.client">SendAcknowledgementHandler</a> handler)</pre> |
| <div class="block">Sets a <code>SendAcknowledgementHandler</code> for this session.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>handler</code> - a SendAcknowledgementHandler</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this ClientSession</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="addMetaData(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addMetaData</h4> |
| <pre class="methodSignature">void addMetaData​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> data) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Attach any metadata to the session.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="addUniqueMetaData(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addUniqueMetaData</h4> |
| <pre class="methodSignature">void addUniqueMetaData​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> key, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> data) |
| throws <a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></pre> |
| <div class="block">Attach any metadata to the session. Throws an exception if there's already a metadata available. |
| You can use this metadata to ensure that there is no other session with the same meta-data you are passing as an argument. |
| This is useful to simulate unique client-ids, where you may want to avoid multiple instances of your client application connected.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../ActiveMQException.html" title="class in org.apache.activemq.artemis.api.core">ActiveMQException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getSessionFactory()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getSessionFactory</h4> |
| <pre class="methodSignature"><a href="ClientSessionFactory.html" title="interface in org.apache.activemq.artemis.api.core.client">ClientSessionFactory</a> getSessionFactory()</pre> |
| <div class="block">Return the sessionFactory used to created this Session.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ClientSession.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2024 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |