SHARE
TWEET

Jim

a guest Sep 29th, 2010 147 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <configuration xmlns="urn:hornetq"
  2.               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3.               xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
  4.  
  5.    <paging-directory>${data.dir:../data}/paging</paging-directory>
  6.    
  7.    <bindings-directory>${data.dir:../data}/bindings</bindings-directory>
  8.    
  9.    <journal-directory>${data.dir:../data}/journal</journal-directory>
  10.    
  11.    <journal-min-files>10</journal-min-files>
  12.    
  13.    <large-messages-directory>${data.dir:../data}/large-messages</large-messages-directory>
  14.    
  15.    <connectors>
  16.       <connector name="netty">
  17.          <factory-class>org.hornetq.core.remoting.impl.netty.NettyConnectorFactory</factory-class>
  18.          <param key="host"  value="${hornetq.remoting.netty.host:cache09}"/>
  19.          <param key="port"  value="${hornetq.remoting.netty.port:5445}"/>
  20.       </connector>
  21.      
  22.       <connector name="netty-throughput">
  23.          <factory-class>org.hornetq.core.remoting.impl.netty.NettyConnectorFactory</factory-class>
  24.          <param key="host"  value="${hornetq.remoting.netty.host:cache09}"/>
  25.          <param key="port"  value="${hornetq.remoting.netty.batch.port:5455}"/>
  26.          <param key="batch-delay" value="50"/>
  27.       </connector>
  28.    </connectors>
  29.  
  30.    <acceptors>
  31.  
  32.         <acceptor name="stomp-acceptor">
  33.                 <factory-class>org.hornetq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class>
  34.                 <param key="protocol"  value="stomp"/>
  35.                 <param key="host" value="cache09"/>
  36.                 <param key="port"  value="61613"/>
  37.         </acceptor>
  38.  
  39.  
  40.       <acceptor name="netty">
  41.          <factory-class>org.hornetq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class>
  42.          <param key="host"  value="${hornetq.remoting.netty.host:cache09}"/>
  43.          <param key="port"  value="${hornetq.remoting.netty.port:5445}"/>
  44.       </acceptor>
  45.      
  46.       <acceptor name="netty-throughput">
  47.          <factory-class>org.hornetq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class>
  48.          <param key="host"  value="${hornetq.remoting.netty.host:cache09}"/>
  49.          <param key="port"  value="${hornetq.remoting.netty.batch.port:5455}"/>
  50.          <param key="batch-delay" value="50"/>
  51.          <param key="direct-deliver" value="false"/>
  52.       </acceptor>
  53.    </acceptors>
  54.  
  55.    <security-settings>
  56.       <security-setting match="#">
  57.          <permission type="createNonDurableQueue" roles="guest"/>
  58.          <permission type="deleteNonDurableQueue" roles="guest"/>
  59.          <permission type="consume" roles="guest"/>
  60.          <permission type="send" roles="guest"/>
  61.       </security-setting>
  62.    </security-settings>
  63.  
  64.    <address-settings>
  65.       <!--default for catch all-->
  66.       <address-setting match="#">
  67.          <dead-letter-address>jms.queue.DLQ</dead-letter-address>
  68.          <expiry-address>jms.queue.ExpiryQueue</expiry-address>
  69.          <redelivery-delay>0</redelivery-delay>
  70.          <max-size-bytes>104857600</max-size-bytes>      
  71.          <message-counter-history-day-limit>10</message-counter-history-day-limit>
  72.          <address-full-policy>PAGE</address-full-policy>
  73.         <page-size-bytes>10485760</page-size-bytes>
  74.       </address-setting>
  75.    </address-settings>
  76.  
  77.    <security-enabled>false</security-enabled>
  78.  
  79. </configuration>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top