activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From titexe <tit...@yahoo.Fr>
Subject Re: Broker Blocked (WARN : Broker localhost not started so using DCFR instead)
Date Tue, 10 Nov 2009 15:34:24 GMT

The context :

i have a network broker type duplex.
and a route camel : move message to othe queue, and track the message in

Below my configuration :

    <broker xmlns="" brokerName="DCFR"

        <!-- Destination specific policies using destination names or
wildcards -->
                    <policyEntry queue=">" memoryLimit="50mb"/>
                    <policyEntry topic=">" memoryLimit="50mb">
		<queue physicalName="AX.OUT"/>

            <managementContext createConnector="false"/>
		<networkConnector name="AX" conduitSubscriptions="true"
uri="static://(tcp://" duplex="true">

            <amqPersistenceAdapter syncOnWrite="false"
directory="${activemq.base}/data" maxFileLength="1 gb"/>
            <sslContext keyStore="file:${activemq.base}/conf/broker.ks"
        <!--  The maximum about of space the broker will use before slowing
down producers -->
                    <memoryUsage limit="500 mb"/>
                    <storeUsage limit="5 gb" name="foo"/>
                    <tempUsage limit="500 mb"/>

        <!-- The transport connectors ActiveMQ will listen to -->
            <transportConnector name="openwire" uri="tcp://DCFR:61616"/>


    <camelContext id="camel"

    <route errorHandlerRef="myDeadLetterChannel">
		<from uri="activemq:queue:AX.OUT"/>
		<to uri="activemq:queue:AX.IN"/>
			<simple> Declare @myDate varchar(50);set
@myDate='${date:now:yyyyMMddHHmmssSSS}';UPDATE InterfaceMonitor SET
CamelSentToAXTS =
'),14,0,':'),17,0,':'),20,0,'.')),121), CamelSentToAX = CURRENT_TIMESTAMP
WHERE MessageGUId = '${in.header.MessageId}'</simple>
		<to uri="jdbc:testdb"/>

	<bean id="myDeadLetterChannel"
	<property name="defaultDeadLetterEndpointUri"
	<!-- <property name="redeliveryPolicy" ref="myRedeliveryPolicy"/> -->

	<bean id="testdb" class="net.sourceforge.jtds.jdbcx.JtdsDataSource">
	   <property name="serverName" value=""/>
	   <property name="portNumber" value="1433"/>
	   <property name="databaseName" value="IP_MOM_GROUP_FIN_AXINTERFACES"/>
	   <property name="user" value="appuser_talend"/>
	   <property name="password" value="P@$$w0rd"/>

    <!-- configure the camel activemq component to use the current broker
    <bean id="activemq"
class="org.apache.activemq.camel.component.ActiveMQComponent" >
        <property name="connectionFactory">
          <bean class="org.apache.activemq.ActiveMQConnectionFactory">
            <!-- <property name="brokerURL"
value="vm://DCFR?create=false&amp;waitForStart=10000" /> -->
            <property name="brokerURL" value="vm://localhost?create=false"
            <property name="userName" value="${activemq.username}"/>
            <property name="password" value="${activemq.password}"/>

    <jetty xmlns="">
            <nioConnector port="8161"/>

            <webAppContext contextPath="/admin"
resourceBase="${activemq.base}/webapps/admin" logUrlOnStart="true"/>
            <webAppContext contextPath="/demo"
resourceBase="${activemq.base}/webapps/demo" logUrlOnStart="true"/>
            <webAppContext contextPath="/fileserver"
resourceBase="${activemq.base}/webapps/fileserver" logUrlOnStart="true"/>
            <webAppContext contextPath="/console"
resourceBase="${activemq.base}/webapps/console" logUrlOnStart="true" />


Gary Tully wrote:
> can you post your configuration and some more context?
> The brokerName attribute is relevant to the vm: url you use, localhost
> is the default value.
> Also, try and enable full debug logging to see if you can extract more
> information.
> 2009/11/10 titexe <>:
>> Hello,
>> My broker can not do anything, nor send or receive messages.
>> When I look at the console, there's only this error:
>> 2009-11-10 09:35:21,205 [7638536 @ qtp0-34] WARN BrokerRegistry - Broker
>> localhost not started so using instead
>> Does someone can help me solve this painful problem ?
>> Thank you in advance,
>> titexe
>> --
>> View this message in context:
>> Sent from the ActiveMQ - User mailing list archive at
> -- 
> Open Source Integration

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message