Activemq - artemis configuration issue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Activemq - artemis configuration issue

victork
This post was updated on .
Hi,

i have been using Apache-artemis 1.5.3 version with cluster connectivity on
AWS instances.

I have been facing issues with paging earlier, But i came overcome after changing the configuration
with max-size-bytes to 100mb and page-size-bytes to 10mb and global
max-size-bytes to 1 gig.

>Still there is no stability between the activemq from Producer and consumer.
>Consumer is asking for the Consumed messages log, i have been printing the
data with data print command and looking for the specific message in it.

> Need Web UI console for artemis 1.5.3 version and how to achieve it.
>if we don't have the console option in 1.5.3 what is the next version where i can have the web UI console to look for the messages.
 
>Do we have any script to look on artemis to find the queues or received messages?

>Memory has given in artemis.profile was xms=8192MB and xmx[=8192MB

>Does i need to change any configurations for the better and best result.

>My cluster connectivity works when there is no data pushed,but when there
is workload and master is down , slave acts as a master and come to live,
but never goes to backup when the master is up.
any inputs for the cluster connectivity to work for live and backup.

Here is my configurations:
broker.xml:



  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
-->

<configuration xmlns="urn:activemq"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="urn:activemq
/schema/artemis-configuration.xsd">


<plugins>
   <discardingDLQBrokerPlugin dropAll="true" dropTemporaryTopics="true"
dropTemporaryQueues="true"/>
</plugins>

   <jms xmlns="urn:activemq:jms">
      <queue name="DLQ"/>
      <queue name="ExpiryQueue"/>

   </jms>

   <core xmlns="urn:activemq:core">

      <name>broker1</name>

      <persistence-enabled>true</persistence-enabled>

     
      <journal-type>ASYNCIO</journal-type>

      <paging-directory>./data/paging</paging-directory>

      <bindings-directory>./data/bindings</bindings-directory>

      <journal-directory>./data/journal</journal-directory>

     
<large-messages-directory>./data/large-messages</large-messages-directory>

      <journal-datasync>true</journal-datasync>

      <journal-min-files>2</journal-min-files>

      <journal-pool-files>-1</journal-pool-files>
   
      <journal-buffer-timeout>508000</journal-buffer-timeout>


<thread-pool-max-size>-1</thread-pool-max-size>
<scheduled-thread-pool-max-size>40</scheduled-thread-pool-max-size>

    <connectors>
       
        <connector name="artemis">tcp://10.x.x.x:61616</connector>
        <connector name="server1-connector">tcp://10.y.y.y:61616</connector>
    </connectors>


     
      <disk-scan-period>5000</disk-scan-period>

     
      <max-disk-usage>90</max-disk-usage>

     
      <global-max-size>1073741824</global-max-size>

      <acceptors>
         
         <acceptor
name="artemis">tcp://10.x.x.x:61616?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=CORE,AMQP,STOMP,HORNETQ,MQTT,OPENWIRE</acceptor>


         
         <acceptor name="amqp">tcp://10.x.x.x:5672?protocols=AMQP</acceptor>

         
         <acceptor
name="stomp">tcp://10.x.x.x:61613?protocols=STOMP</acceptor>

         
         <acceptor
name="hornetq">tcp://10.x.x.x:5445?protocols=HORNETQ,STOMP</acceptor>

         
         <acceptor name="mqtt">tcp://10.x.x.x:1883?protocols=MQTT</acceptor>

      </acceptors>


      <cluster-user>amqcuser</cluster-user>

      <cluster-password>amqcuser</cluster-password>

     

      <cluster-connections>
         <cluster-connection name="my-cluster">
            <address>jms</address>
            <connector-ref>artemis</connector-ref>
            <message-load-balancing>ON_DEMAND</message-load-balancing>
            <max-hops>0</max-hops>
           
            <static-connectors>
               <connector-ref>server1-connector</connector-ref>
            </static-connectors>
         </cluster-connection>
      </cluster-connections>


      <ha-policy>
         <replication>
            <master>
                <cluster-name>my-cluster</cluster-name>
                <check-for-live-server>true</check-for-live-server>
            </master>
         </replication>
      </ha-policy>

      <security-settings>
         <security-setting match="#">
            <permission type="createNonDurableQueue" roles="amq"/>
            <permission type="deleteNonDurableQueue" roles="amq"/>
            <permission type="createDurableQueue" roles="amq"/>
            <permission type="deleteDurableQueue" roles="amq"/>
            <permission type="consume" roles="amq"/>
            <permission type="browse" roles="amq"/>
            <permission type="send" roles="amq"/>
           
            <permission type="manage" roles="amq"/>
         </security-setting>
      </security-settings>

      <address-settings>
         
         <address-setting match="#">
            <dead-letter-address>jms.queue.DLQ</dead-letter-address>
            <expiry-address>jms.queue.ExpiryQueue</expiry-address>
            <redelivery-delay>0</redelivery-delay>
           
            <max-size-bytes>104857600</max-size-bytes>
            <page-size-bytes>10485760</page-size-bytes>
           
<message-counter-history-day-limit>10</message-counter-history-day-limit>
            <address-full-policy>PAGE</address-full-policy>
         </address-setting>
      </address-settings>
   </core>
</configuration>




please suggest with the best configurations.



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
Reply | Threaded
Open this post in threaded view
|

Re: Activemq - artemis configuration issue

jbertram
> I have been facing issues with paging earlier, by changing the
configuration with max-size-bytes to 100mb and page-size-bytes to 10mb and
global max-size-bytes to 1 gig.

Are you saying that you have overcome the issue with paging by changing
these settings?  Please clarify.

> Still there is no stability between the activemq from Producer and
consumer.

What does it mean to have "stability between the activemq from Producer and
consumer"?

> Consumer is asking for the Consumed messages log, i have been printing
the data with data print command and looking for the specific message in it.

Are you stating this for informational purposes or is there a specific
problem here?  Please elaborate.

> Need Web UI console for artemis 1.5.3 version and how to achieve it.

Artemis 1.5.3 didn't ship with a web-based console.

> if we don't have the console option in 1.5.3 what is the next version
where i can have the web UI console on it.

The web console was first shipped in Artemis 2.3.0.  The work was done on
ARTEMIS-1270 [1].  Documentation about the console is available here [2].

>Do we have any script to look on artemis to find the queues or received
messages?

There are no "scripts" per se, but you can find all the addresses by using
the "listAddresses" management operation and then you can get the address
control for each address and invoke the "getQueueNames" operation.  Then
for each of the queues you can look at the messages-acknowledged to see how
many messages have been received from the queue.

> Does i need to change any configurations for the better and best result.

There are not enough details about your use-case and the problem you're
facing to provide configuration recommendations at this point.

> My cluster connectivity works when there is no data pushed,but when there
is workload and master is down , slave acts as a master and come to live,
but never goes to backup when the master is up.

Have you configured fail-back on the backup?

> any inputs for the cluster connectivity to work for live and backup.

I don't understand what you're asking for here (if anything).


Justin

[1] https://issues.apache.org/jira/browse/ARTEMIS-1270
[2] https://activemq.apache.org/artemis/docs/latest/management-console.html

On Wed, Jan 3, 2018 at 10:06 PM, vasanthk <[hidden email]> wrote:

> Hi,
>
> i have been using Apache-artemis 1.5.3 version with cluster connectivity on
> AWS instances.
>
> I have been facing issues with paging earlier, by changing the
> configuration
> with max-size-bytes to 100mb and page-size-bytes to 10mb and global
> max-size-bytes to 1 gig.
>
> >Still there is no stability between the activemq from Producer and
> consumer.
> Consumer is asking for the Consumed messages log, i have been printing the
> data with data print command and looking for the specific message in it.
>
> > Need Web UI console for artemis 1.5.3 version and how to achieve it.
> if we don't have the console option in 1.5.3 what is the next version where
> i can have the web UI console on it.
>
> >Do we have any script to look on artemis to find the queues or received
> messages?
>
> >Memory has given in artemis.profile was xms=8192MB and xmx[=8192MB
>
> >Does i need to change any configurations for the better and best result.
>
> >My cluster connectivity works when there is no data pushed,but when there
> is workload and master is down , slave acts as a master and come to live,
> but never goes to backup when the master is up.
> any inputs for the cluster connectivity to work for live and backup.
>
> Here is my configurations:
> broker.xml:
>
>
>
>   http://www.apache.org/licenses/LICENSE-2.0
>
> Unless required by applicable law or agreed to in writing,
> software distributed under the License is distributed on an
> "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> KIND, either express or implied.  See the License for the
> specific language governing permissions and limitations
> under the License.
> -->
>
> <configuration xmlns="urn:activemq"
>                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>                xsi:schemaLocation="urn:activemq
> /schema/artemis-configuration.xsd">
>
>
> <plugins>
>    <discardingDLQBrokerPlugin dropAll="true" dropTemporaryTopics="true"
> dropTemporaryQueues="true"/>
> </plugins>
>
>    <jms xmlns="urn:activemq:jms">
>       <queue name="DLQ"/>
>       <queue name="ExpiryQueue"/>
>
>    </jms>
>
>    <core xmlns="urn:activemq:core">
>
>       <name>broker1</name>
>
>       <persistence-enabled>true</persistence-enabled>
>
>
>       <journal-type>ASYNCIO</journal-type>
>
>       <paging-directory>./data/paging</paging-directory>
>
>       <bindings-directory>./data/bindings</bindings-directory>
>
>       <journal-directory>./data/journal</journal-directory>
>
>
> <large-messages-directory>./data/large-messages</large-messages-directory>
>
>       <journal-datasync>true</journal-datasync>
>
>       <journal-min-files>2</journal-min-files>
>
>       <journal-pool-files>-1</journal-pool-files>
>
>       <journal-buffer-timeout>508000</journal-buffer-timeout>
>
>
> <thread-pool-max-size>-1</thread-pool-max-size>
> <scheduled-thread-pool-max-size>40</scheduled-thread-pool-max-size>
>
>     <connectors>
>
>         <connector name="artemis">tcp://10.x.x.x:61616</connector>
>         <connector name="server1-connector">tcp:/
> /10.y.y.y:61616</connector>
>     </connectors>
>
>
>
>       <disk-scan-period>5000</disk-scan-period>
>
>
>       <max-disk-usage>90</max-disk-usage>
>
>
>       <global-max-size>1073741824</global-max-size>
>
>       <acceptors>
>
>          <acceptor
> name="artemis">tcp://10.x.x.x:61616?tcpSendBufferSize=
> 1048576;tcpReceiveBufferSize=1048576;protocols=CORE,AMQP,
> STOMP,HORNETQ,MQTT,OPENWIRE</acceptor>
>
>
>
>          <acceptor name="amqp">tcp://10.x.x.x:
> 5672?protocols=AMQP</acceptor>
>
>
>          <acceptor
> name="stomp">tcp://10.x.x.x:61613?protocols=STOMP</acceptor>
>
>
>          <acceptor
> name="hornetq">tcp://10.x.x.x:5445?protocols=HORNETQ,STOMP</acceptor>
>
>
>          <acceptor name="mqtt">tcp://10.x.x.x:
> 1883?protocols=MQTT</acceptor>
>
>       </acceptors>
>
>
>       <cluster-user>amqcuser</cluster-user>
>
>       <cluster-password>amqcuser</cluster-password>
>
>
>
>       <cluster-connections>
>          <cluster-connection name="my-cluster">
>             <address>jms</address>
>             <connector-ref>artemis</connector-ref>
>             <message-load-balancing>ON_DEMAND</message-load-balancing>
>             <max-hops>0</max-hops>
>
>             <static-connectors>
>                <connector-ref>server1-connector</connector-ref>
>             </static-connectors>
>          </cluster-connection>
>       </cluster-connections>
>
>
>       <ha-policy>
>          <replication>
>             <master>
>                 <cluster-name>my-cluster</cluster-name>
>                 <check-for-live-server>true</check-for-live-server>
>             </master>
>          </replication>
>       </ha-policy>
>
>       <security-settings>
>          <security-setting match="#">
>             <permission type="createNonDurableQueue" roles="amq"/>
>             <permission type="deleteNonDurableQueue" roles="amq"/>
>             <permission type="createDurableQueue" roles="amq"/>
>             <permission type="deleteDurableQueue" roles="amq"/>
>             <permission type="consume" roles="amq"/>
>             <permission type="browse" roles="amq"/>
>             <permission type="send" roles="amq"/>
>
>             <permission type="manage" roles="amq"/>
>          </security-setting>
>       </security-settings>
>
>       <address-settings>
>
>          <address-setting match="#">
>             <dead-letter-address>jms.queue.DLQ</dead-letter-address>
>             <expiry-address>jms.queue.ExpiryQueue</expiry-address>
>             <redelivery-delay>0</redelivery-delay>
>
>             <max-size-bytes>104857600</max-size-bytes>
>             <page-size-bytes>10485760</page-size-bytes>
>
> <message-counter-history-day-limit>10</message-counter-history-day-limit>
>             <address-full-policy>PAGE</address-full-policy>
>          </address-setting>
>       </address-settings>
>    </core>
> </configuration>
>
>
>
>
> please suggest with the best configurations.
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html
>
Reply | Threaded
Open this post in threaded view
|

Re: Activemq - artemis configuration issue

victork
1. I have been facing the paging issue earlier with this configuration
      <max-size-bytes>-1</max-size-bytes>
      <global-max-size>104857600</global-max-size>
Most of the messages goes into paging with this configuration.

2 .I have overcome the paging issue by changing the address setting
configuration with
       <max-size-bytes>104857600</max-size-bytes>
      <page-size-bytes>10485760</page-size-bytes>
      <global-max-size>1073741824</global-max-size>  
But still i used to seem very less messages goes into to PAGE mode. Does i
need to have any change in address settings for the messages to have faster
process of acknowledgement.

3. Clustter connectivity.
I have clustered connectivity configuration with HA policy and disabling the
broadcast-groups and discovery-groups.As in AWS instances there is no
broadcast address available.

 **

yes, i have configured with fail-back on the back up.

*On master : *
*<ha-policy>
         <replication>
              <master>
                <cluster-name>my-cluster</cluster-name>
                 <check-for-live-server>true</check-for-live-server>
            </master>
         </replication>
</ha-policy>*

*on slave:*
  *<ha-policy>
         <replication>
            <slave>
                <cluster-name>my-cluster</cluster-name>
                <allow-failback>true</allow-failback>
            </slave>
         </replication>
      </ha-policy>*

Please suggest with the better configuration .
*Below is my broker configuration *

<?xml version='1.0'?>
 
 
 <configuration xmlns="urn:activemq"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:schemaLocation="urn:activemq
 /schema/artemis-configuration.xsd">
 
 
 <plugins>
    <discardingDLQBrokerPlugin dropAll="true" dropTemporaryTopics="true"
 dropTemporaryQueues="true"/>
 </plugins>
 
    <jms xmlns="urn:activemq:jms">
       <queue name="DLQ"/>
       <queue name="ExpiryQueue"/>
 
    </jms>
 
    <core xmlns="urn:activemq:core">
 
       <name>broker1</name>
 
       <persistence-enabled>true</persistence-enabled>
 
 
       <journal-type>ASYNCIO</journal-type>
 
       <paging-directory>./data/paging</paging-directory>
 
       <bindings-directory>./data/bindings</bindings-directory>
 
       <journal-directory>./data/journal</journal-directory>
 
 
 <large-messages-directory>./data/large-messages</large-messages-directory>
 
       <journal-datasync>true</journal-datasync>
 
       <journal-min-files>2</journal-min-files>
 
       <journal-pool-files>-1</journal-pool-files>
 
       <journal-buffer-timeout>508000</journal-buffer-timeout>
 
 
 <thread-pool-max-size>-1</thread-pool-max-size>
 <scheduled-thread-pool-max-size>40</scheduled-thread-pool-max-size>
 
     <connectors>
 
         <connector name="artemis">tcp://10.x.x.x:61616</connector>
         <connector name="server1-connector">tcp:/
 /10.y.y.y:61616</connector>
     </connectors>
 
 
 
       <disk-scan-period>5000</disk-scan-period>
 
 
       <max-disk-usage>90</max-disk-usage>
 
 
       <global-max-size>1073741824</global-max-size>
 
       <acceptors>
 
          <acceptor
 name="artemis">tcp://10.x.x.x:61616?tcpSendBufferSize=
 1048576;tcpReceiveBufferSize=1048576;protocols=CORE,AMQP,
 STOMP,HORNETQ,MQTT,OPENWIRE</acceptor>
 
 
 
          <acceptor name="amqp">tcp://10.x.x.x:
 5672?protocols=AMQP</acceptor>
 
 
          <acceptor
 name="stomp">tcp://10.x.x.x:61613?protocols=STOMP</acceptor>
 
 
          <acceptor
 name="hornetq">tcp://10.x.x.x:5445?protocols=HORNETQ,STOMP</acceptor>
 
 
          <acceptor name="mqtt">tcp://10.x.x.x:
 1883?protocols=MQTT</acceptor>
 
       </acceptors>
 
 
       <cluster-user>amqcuser</cluster-user>
 
       <cluster-password>amqcuser</cluster-password>
 
 
 
       <cluster-connections>
          <cluster-connection name="my-cluster">
             <address>jms</address>
             <connector-ref>artemis</connector-ref>
             <message-load-balancing>ON_DEMAND</message-load-balancing>
             <max-hops>0</max-hops>
 
             <static-connectors>
                <connector-ref>server1-connector</connector-ref>
             </static-connectors>
          </cluster-connection>
       </cluster-connections>
 
 
       <ha-policy>
          <replication>
             <master>
                 <cluster-name>my-cluster</cluster-name>
                 <check-for-live-server>true</check-for-live-server>
             </master>
          </replication>
       </ha-policy>
 
       <security-settings>
          <security-setting match="#">
             <permission type="createNonDurableQueue" roles="amq"/>
             <permission type="deleteNonDurableQueue" roles="amq"/>
             <permission type="createDurableQueue" roles="amq"/>
             <permission type="deleteDurableQueue" roles="amq"/>
             <permission type="consume" roles="amq"/>
             <permission type="browse" roles="amq"/>
             <permission type="send" roles="amq"/>
 
             <permission type="manage" roles="amq"/>
          </security-setting>
       </security-settings>
 
       <address-settings>
 
          <address-setting match="#">
             <dead-letter-address>jms.queue.DLQ</dead-letter-address>
             <expiry-address>jms.queue.ExpiryQueue</expiry-address>
             <redelivery-delay>0</redelivery-delay>
 
             <max-size-bytes>104857600</max-size-bytes>
             <page-size-bytes>10485760</page-size-bytes>
 
 <message-counter-history-day-limit>10</message-counter-history-day-limit>
             <address-full-policy>PAGE</address-full-policy>
          </address-setting>
       </address-settings>
    </core>
 </configuration>





--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
Reply | Threaded
Open this post in threaded view
|

Re: Activemq - artemis configuration issue

jbertram
> Does i need to have any change in address settings for the messages to
have faster process of acknowledgement.

How quickly messages are acknowledged is largely dependent on the your
consumers.  There's not much which can be done on the broker to speed
acknowledgement.

> yes, i have configured with fail-back on the back up.

That configuration looks good to me.


Justin

On Thu, Jan 4, 2018 at 1:02 PM, victork <[hidden email]> wrote:

> 1. I have been facing the paging issue earlier with this configuration
>       <max-size-bytes>-1</max-size-bytes>
>       <global-max-size>104857600</global-max-size>
> Most of the messages goes into paging with this configuration.
>
> 2 .I have overcome the paging issue by changing the address setting
> configuration with
>        <max-size-bytes>104857600</max-size-bytes>
>       <page-size-bytes>10485760</page-size-bytes>
>       <global-max-size>1073741824</global-max-size>
> But still i used to seem very less messages goes into to PAGE mode. Does i
> need to have any change in address settings for the messages to have faster
> process of acknowledgement.
>
> 3. Clustter connectivity.
> I have clustered connectivity configuration with HA policy and disabling
> the
> broadcast-groups and discovery-groups.As in AWS instances there is no
> broadcast address available.
>
>  **
>
> yes, i have configured with fail-back on the back up.
>
> *On master : *
> *<ha-policy>
>          <replication>
>               <master>
>                 <cluster-name>my-cluster</cluster-name>
>                  <check-for-live-server>true</check-for-live-server>
>             </master>
>          </replication>
> </ha-policy>*
>
> *on slave:*
>   *<ha-policy>
>          <replication>
>             <slave>
>                 <cluster-name>my-cluster</cluster-name>
>                 <allow-failback>true</allow-failback>
>             </slave>
>          </replication>
>       </ha-policy>*
>
> Please suggest with the better configuration .
> *Below is my broker configuration *
>
> <?xml version='1.0'?>
>
>
>  <configuration xmlns="urn:activemq"
>                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>                 xsi:schemaLocation="urn:activemq
>  /schema/artemis-configuration.xsd">
>
>
>  <plugins>
>     <discardingDLQBrokerPlugin dropAll="true" dropTemporaryTopics="true"
>  dropTemporaryQueues="true"/>
>  </plugins>
>
>     <jms xmlns="urn:activemq:jms">
>        <queue name="DLQ"/>
>        <queue name="ExpiryQueue"/>
>
>     </jms>
>
>     <core xmlns="urn:activemq:core">
>
>        <name>broker1</name>
>
>        <persistence-enabled>true</persistence-enabled>
>
>
>        <journal-type>ASYNCIO</journal-type>
>
>        <paging-directory>./data/paging</paging-directory>
>
>        <bindings-directory>./data/bindings</bindings-directory>
>
>        <journal-directory>./data/journal</journal-directory>
>
>
>  <large-messages-directory>./data/large-messages</large-
> messages-directory>
>
>        <journal-datasync>true</journal-datasync>
>
>        <journal-min-files>2</journal-min-files>
>
>        <journal-pool-files>-1</journal-pool-files>
>
>        <journal-buffer-timeout>508000</journal-buffer-timeout>
>
>
>  <thread-pool-max-size>-1</thread-pool-max-size>
>  <scheduled-thread-pool-max-size>40</scheduled-thread-pool-max-size>
>
>      <connectors>
>
>          <connector name="artemis">tcp://10.x.x.x:61616</connector>
>          <connector name="server1-connector">tcp:/
>  /10.y.y.y:61616</connector>
>      </connectors>
>
>
>
>        <disk-scan-period>5000</disk-scan-period>
>
>
>        <max-disk-usage>90</max-disk-usage>
>
>
>        <global-max-size>1073741824</global-max-size>
>
>        <acceptors>
>
>           <acceptor
>  name="artemis">tcp://10.x.x.x:61616?tcpSendBufferSize=
>  1048576;tcpReceiveBufferSize=1048576;protocols=CORE,AMQP,
>  STOMP,HORNETQ,MQTT,OPENWIRE</acceptor>
>
>
>
>           <acceptor name="amqp">tcp://10.x.x.x:
>  5672?protocols=AMQP</acceptor>
>
>
>           <acceptor
>  name="stomp">tcp://10.x.x.x:61613?protocols=STOMP</acceptor>
>
>
>           <acceptor
>  name="hornetq">tcp://10.x.x.x:5445?protocols=HORNETQ,STOMP</acceptor>
>
>
>           <acceptor name="mqtt">tcp://10.x.x.x:
>  1883?protocols=MQTT</acceptor>
>
>        </acceptors>
>
>
>        <cluster-user>amqcuser</cluster-user>
>
>        <cluster-password>amqcuser</cluster-password>
>
>
>
>        <cluster-connections>
>           <cluster-connection name="my-cluster">
>              <address>jms</address>
>              <connector-ref>artemis</connector-ref>
>              <message-load-balancing>ON_DEMAND</message-load-balancing>
>              <max-hops>0</max-hops>
>
>              <static-connectors>
>                 <connector-ref>server1-connector</connector-ref>
>              </static-connectors>
>           </cluster-connection>
>        </cluster-connections>
>
>
>        <ha-policy>
>           <replication>
>              <master>
>                  <cluster-name>my-cluster</cluster-name>
>                  <check-for-live-server>true</check-for-live-server>
>              </master>
>           </replication>
>        </ha-policy>
>
>        <security-settings>
>           <security-setting match="#">
>              <permission type="createNonDurableQueue" roles="amq"/>
>              <permission type="deleteNonDurableQueue" roles="amq"/>
>              <permission type="createDurableQueue" roles="amq"/>
>              <permission type="deleteDurableQueue" roles="amq"/>
>              <permission type="consume" roles="amq"/>
>              <permission type="browse" roles="amq"/>
>              <permission type="send" roles="amq"/>
>
>              <permission type="manage" roles="amq"/>
>           </security-setting>
>        </security-settings>
>
>        <address-settings>
>
>           <address-setting match="#">
>              <dead-letter-address>jms.queue.DLQ</dead-letter-address>
>              <expiry-address>jms.queue.ExpiryQueue</expiry-address>
>              <redelivery-delay>0</redelivery-delay>
>
>              <max-size-bytes>104857600</max-size-bytes>
>              <page-size-bytes>10485760</page-size-bytes>
>
>  <message-counter-history-day-limit>10</message-counter-history-day-limit>
>              <address-full-policy>PAGE</address-full-policy>
>           </address-setting>
>        </address-settings>
>     </core>
>  </configuration>
>
>
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html
>