activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chirag Pujara <chiragpuj...@gmail.com>
Subject ActiveMq instance creation and running them
Date Mon, 22 Jul 2013 21:01:37 GMT
Hello,

I have created 3 instance for activemq. activemq_8100, activemq_8200,
activemq_8300.

when I execute follwoing command:

/opt/gwx/apache-activemq-5.8.0/activemq_8100/bin/activemq_8100 start
-Dactivemq.data=/opt/gwx/activemqdata -DopenwirePort=61616 -DamqpPort=5600
-DrmiPort=8100

it starts activemq as console and not as background process. did I miss
something?

Here is what my config looks like:

<?xml version="1.0" encoding="UTF-8"?><beans xmlns="
http://www.springframework.org/schema/beans" xmlns:amq="
http://activemq.apache.org/schema/core" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd">

    <!-- Allows us to use system properties as variables in this
configuration file -->
    <bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="locations">
            <value>file:${activemq.conf}/credentials.properties</value>
        </property>
    </bean>

    <!--
        The <broker> element is used to configure the ActiveMQ broker.
    -->
    <broker xmlns="http://activemq.apache.org/schema/core"
brokerName="activemq_8100" dataDirectory="${activemq.data}">


        <destinationPolicy>
            <policyMap>
              <policyEntries>

                <policyEntry producerFlowControl="true" topic="&gt;">
                  <pendingMessageLimitStrategy>
                    <constantPendingMessageLimitStrategy limit="1000"/>
                  </pendingMessageLimitStrategy>
                </policyEntry>
               <policyEntry memoryLimit="1mb" producerFlowControl="true"
queue="&gt;">

                </policyEntry>
              </policyEntries>
            </policyMap>
        </destinationPolicy>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message