<subsystem xmlns="urn:jboss:domain:messaging-activemq:5.0">
<server name="default">
<security enabled="false"/>
<management jmx-enabled="true" address="jms.queue.activemq.management" jmx-domain="org.activemq" />
<security-setting name="activemq.management">
<role name="admin"/>
</security-setting>
<address-setting name="#" dead-letter-address="jms.queue.DLQ" expiry-address="jms.queue.ExpiryQueue" max-size-bytes="10485760000" page-size-bytes="2097152" message-counter-history-day-limit="10"/>
<http-connector name="http-connector" socket-binding="http" endpoint="http-acceptor"/>
<http-connector name="http-connector-throughput" socket-binding="http" endpoint="http-acceptor-throughput">
<param name="batch-delay" value="50"/>
</http-connector>
<remote-connector name="legacy-messaging-connector" socket-binding="legacy-messaging"/>
<in-vm-connector name="in-vm" server-id="0">
<param name="buffer-pooling" value="false"/>
</in-vm-connector>
<http-acceptor name="http-acceptor" http-listener="default"/>
<http-acceptor name="http-acceptor-throughput" http-listener="default">
<param name="batch-delay" value="50"/>
<param name="direct-deliver" value="false"/>
</http-acceptor>
<remote-acceptor name="legacy-messaging-acceptor" socket-binding="legacy-messaging"/>
<in-vm-acceptor name="in-vm" server-id="0">
<param name="buffer-pooling" value="false"/>
</in-vm-acceptor>
<jms-topic name="testTopic" entries="topic/newTestTopic java:jboss/exported/topic/newTestTopic" legacy-entries="topic/testTopic jms/topic/testTopic java:jboss/exported/topic/testTopic"/>
<connection-factory name="InVmConnectionFactory" entries="java:/ConnectionFactory java:jboss/exported/ConnectionFactory" connectors="in-vm"/>
<connection-factory name="NewRemoteConnectionFactory" entries="java:jboss/exported/jms/NewRemoteConnectionFactory" connectors="http-connector"/>
<legacy-connection-factory name="legacy-discovery" entries="java:jboss/exported/jms/RemoteConnectionFactory" connectors="legacy-messaging-connector"/>
<pooled-connection-factory name="activemq-ra" entries="java:/JmsXA java:jboss/DefaultJMSConnectionFactory" connectors="in-vm" transaction="xa"/>
</server>
</subsystem>
<subsystem xmlns="urn:jboss:domain:remoting:4.0">
<connector name="legacy-remoting-connector" socket-binding="legacy-remoting"/>
<http-connector name="http-remoting-connector" connector-ref="default"/>
</subsystem>
<interfaces>
<interface name="management">
<any-address/>
</interface>
<interface name="public">
<any-address/>
</interface>
<interface name="messaging-interface">
<any-address/>
</interface>
</interfaces>
<socket-binding-group name="standard-sockets" default-interface="public" port-offset="${my.jboss.port.offset:0}">
<socket-binding name="legacy-remoting" port="4447"/>
<socket-binding name="legacy-messaging" interface="messaging-interface" port="5445"/>
</socket-binding-group>