activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Unable to setup : Default Persistence in ActiveMQ
Date Tue, 23 Dec 2008 03:34:35 GMT

This is how my activemq.xml looks like:
    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
    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.
        <!-- START SNIPPET: xbean -->

  <broker brokerName="broker" useJmx="true" persistent="true"

    <!-- In ActiveMQ 4, you can setup destination policies -->

          <policyEntry topic="FOO.>">


      <transportConnector name="openwire" uri="tcp://localhost:61616"
      <transportConnector name="stomp" uri="stomp://localhost:61613"/>
      <transportConnector name="xmpp" uri="xmpp://localhost:61222"/>
    	<amqPersistenceAdapter directory="activemq-data" maxFileLength="32mb"/>
      <!-- by default just auto discover the other brokers -->
      <networkConnector name="defaultNetwork" uri="multicast://default"/>
      <networkConnector name="host1 and host2"
uri="static://(tcp://host1:61616,tcp://host2:61616)" failover="true"/>


  <!-- lets create a command agent to respond to admin commands over JMS or
XMPP on the ActiveMQ.Agent topic -->
  <commandAgent xmlns=""/>


My Messages are not getting saved : when my BROKER goes down.

Please help --- Ankit
View this message in context:
Sent from the ActiveMQ - Dev mailing list archive at

View raw message