<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

  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 ../../../src/schema/artemis-server.xsd">
   <jms xmlns="urn:activemq:jms">

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

      <!-- Connectors -->
      <connectors>
         <connector name="netty">tcp://localhost:61616</connector>
         <connector name="in-vm">vm://0</connector>
      </connectors>

      <!-- Acceptors -->
      <acceptors>
         <!-- In VM acceptor -->
         <acceptor name="in-vm">vm://0</acceptor>
         <!-- Netty TCP Acceptor -->
         <acceptor name="netty">tcp://localhost:61616</acceptor>
      </acceptors>

     <journal-min-files>2</journal-min-files>
     <paging-directory>target/data/paging</paging-directory>
     <bindings-directory>target/data/binding</bindings-directory>
     <journal-directory>target/data/journal</journal-directory>
     <large-messages-directory>target/data/largemessages</large-messages-directory>

     <security-settings>
         <security-setting match="#">
            <permission type="createDurableQueue" roles="guest,def"/>
            <permission type="deleteDurableQueue" roles="guest,def"/>
            <permission type="createNonDurableQueue" roles="guest,def"/>
            <permission type="deleteNonDurableQueue" roles="guest,def"/>
            <permission type="consume" roles="guest,def"/>
            <permission type="browse" roles="guest,def"/>
            <permission type="send" roles="guest,def"/>
         </security-setting>
     </security-settings>
   </core>
</configuration>