Created
October 14, 2010 20:41
-
-
Save maeste/627009 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
~ JBoss, Home of Professional Open Source. | |
~ Copyright 2010, Red Hat, Inc., and individual contributors | |
~ as indicated by the @author tags. See the copyright.txt file in the | |
~ distribution for a full listing of individual contributors. | |
~ | |
~ This is free software; you can redistribute it and/or modify it | |
~ under the terms of the GNU Lesser General Public License as | |
~ published by the Free Software Foundation; either version 2.1 of | |
~ the License, or (at your option) any later version. | |
~ | |
~ This software is distributed in the hope that it will be useful, | |
~ but WITHOUT ANY WARRANTY; without even the implied warranty of | |
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
~ Lesser General Public License for more details. | |
~ | |
~ You should have received a copy of the GNU Lesser General Public | |
~ License along with this software; if not, write to the Free | |
~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
~ 02110-1301 USA, or see the FSF site: http://www.fsf.org. | |
--> | |
<server xmlns="urn:jboss:domain:1.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="urn:jboss:domain:1.0 jboss_7_0.xsd"> | |
<name>Standalone</name> | |
<extensions> | |
<extension module="org.jboss.as.jmx"/> | |
<extension module="org.jboss.as.sar"/> | |
<extension module="org.jboss.as.threads"/> | |
<extension module="org.jboss.as.naming"/> | |
<extension module="org.jboss.as.remoting"/> | |
<extension module="org.jboss.as.transactions"/> | |
<extension module="org.jboss.as.managed-beans"/> | |
<extension module="org.jboss.as.messaging"/> | |
<extension module="org.jboss.as.connector"/> | |
</extensions> | |
<profile name="something"> | |
<subsystem xmlns="urn:jboss:domain:threads:1.0"> | |
<scheduled-thread-pool name="remoting"> | |
<max-threads count="10" per-cpu="20"/> | |
<keepalive-time time="10" unit="SECONDS"/> | |
</scheduled-thread-pool> | |
<bounded-queue-thread-pool name="jca-short-running" blocking="true"> | |
<core-threads count="10" per-cpu="20" /> | |
<queue-length count="10" per-cpu="20" /> | |
<max-threads count="10" per-cpu="20"/> | |
<keepalive-time time="10" unit="SECONDS"/> | |
</bounded-queue-thread-pool> | |
<bounded-queue-thread-pool name="jca-long-running" blocking="true"> | |
<core-threads count="10" per-cpu="20" /> | |
<queue-length count="10" per-cpu="20" /> | |
<max-threads count="10" per-cpu="20"/> | |
<keepalive-time time="10" unit="SECONDS"/> | |
</bounded-queue-thread-pool> | |
</subsystem> | |
<subsystem xmlns="urn:jboss:domain:naming:1.0" /> | |
<subsystem xmlns="urn:jboss:domain:remoting:1.0" thread-pool="remoting"/> | |
<subsystem xmlns="urn:jboss:domain:jmx:1.0"/> | |
<subsystem xmlns="urn:jboss:domain:sar:1.0"/> | |
<subsystem xmlns="urn:jboss:domain:managedbeans:1.0"/> | |
<subsystem xmlns="urn:jboss:domain:transactions:1.0"> | |
<recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/> | |
<core-environment socket-binding="txn-socket-process-id"/> | |
</subsystem> | |
<subsystem xmlns="urn:jboss:domain:connector:1.0"> | |
<archive-validation enabled="true" /> | |
<bean-validation enabled="true" /> | |
<default-workmanager short-running-thread-pool="jca-short-running" long-running-thread-pool="jca-long-running" /> | |
</subsystem> | |
<subsystem xmlns="urn:jboss:domain:datasources:1.0" /> | |
<subsystem xmlns="urn:jboss:domain:resourceadapters:1.0" /> | |
<subsystem xmlns="urn:jboss:domain:messaging:1.0"> | |
<persistence-enabled>false</persistence-enabled> | |
<journal-type>NIO</journal-type> | |
<bindings-directory relative-to="jboss.server.data.dir" path="hornetq/bindings" /> | |
<large-messages-directory relative-to="jboss.server.data.dir" path="hornetq/largemessages" /> | |
<paging-directory relative-to="jboss.server.data.dir" path="hornetq/paging" /> | |
<journal-directory relative-to="jboss.server.data.dir" path="hornetq/journal" /> | |
<journal-min-files>2</journal-min-files> | |
<!-- Default journal file size is 10Mb, reduced here to 100k for faster first boot --> | |
<journal-file-size>102400</journal-file-size> | |
<connectors> | |
<in-vm-connector name="in-vm" server-id="0" /> | |
<netty-connector name="netty" socket-binding="netty" /> | |
<netty-connector name="netty-throughput" socket-binding="netty-throughput"> | |
<param key="batch-delay" value="50"/> | |
</netty-connector> | |
</connectors> | |
<acceptors> | |
<in-vm-acceptor name="in-vm" server-id="0" /> | |
<netty-acceptor name="netty" socket-binding="netty" /> | |
<netty-acceptor name="netty-throughput" socket-binding="netty-throughput"> | |
<param key="batch-delay" value="50"/> | |
<param key="direct-deliver" value="false"/> | |
</netty-acceptor> | |
</acceptors> | |
<security-settings> | |
<security-setting match="#"> | |
<permission type="createNonDurableQueue" roles="guest"/> | |
<permission type="deleteNonDurableQueue" roles="guest"/> | |
<permission type="consume" roles="guest"/> | |
<permission type="send" roles="guest"/> | |
</security-setting> | |
</security-settings> | |
<address-settings> | |
<!--default for catch all--> | |
<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>10485760</max-size-bytes> | |
<message-counter-history-day-limit>10</message-counter-history-day-limit> | |
<address-full-policy>BLOCK</address-full-policy> | |
</address-setting> | |
</address-settings> | |
</subsystem> | |
</profile> | |
<interfaces> | |
<interface name="default"> | |
<inet-address value="127.0.0.1"/> | |
</interface> | |
</interfaces> | |
<socket-binding-group name="standard-sockets" default-interface="default"> | |
<socket-binding name="jndi" port="1099"/> | |
<socket-binding name="http" port="8080"/> | |
<socket-binding name="https" port="8447"/> | |
<socket-binding name="remoting" port="4447"/> | |
<socket-binding name="txn-recovery-environment" port="4712"/> | |
<socket-binding name="txn-status-manager" port="4713"/> | |
<socket-binding name="txn-socket-process-id" port="4714"/> | |
<socket-binding name="netty" port="5445" /> | |
<socket-binding name="netty-throughput" port="5455"/> | |
</socket-binding-group> | |
<system-properties> | |
<property name="prop1" value="value1"/> | |
<property name="prop2" value="value2"/> | |
</system-properties> | |
<deployment-repository scan-interval="5000"/> | |
<deployments> | |
</deployments> | |
</server> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment