I am running the broker using the activemq script, and in console mode,  not 
sure if that produces more verbose information than how you are running it.

What version of ActiveMQ are you running with?  I am working with 5.11.1..

Thanks.

Kevin

From: "James A. Robinson-2 [via ActiveMQ]" 
<ml-node+s2283324n4694156...@n4.nabble.com<mailto:ml-node+s2283324n4694156...@n4.nabble.com>>
Date: Tuesday, March 31, 2015 at 12:37 PM
To: SNEI <kevin...@am.sony.com<mailto:kevin...@am.sony.com>>
Subject: Re: Creating a Network of Replicated LevelDB broker clusters

On Tue, Mar 31, 2015 at 12:08 PM, wonderkind <[hidden 
email]</user/SendEmail.jtp?type=node&node=4694156&i=0>> wrote:
>
> Is your broker running pretty clean when you send messages through the
fabric of network of replicated master/slaves?


Yes, though I'm only running the examples/openwire/swissarmy
producer/consumer example using the defaults.   On the 2nd
cluster I set up a consumer to read from the 1st cluster:

[amq-prod-2c swissarmy]$ ant consumer
'-Durl=failover://(tcp://amq-prod-1a:61616,tcp://amq-prod-1b:61616,tcp://amq-prod-1c:61616)'

And on the 1st cluster I run a producer pushing to the 2nd cluster:

[amq-prod-1c swissarmy]$ ant producer
'-Durl=failover://(tcp://amq-prod-2a:61616,tcp://amq-prod-2b:61616,tcp://amq-prod-2c:61616)'

producer:
     [echo] Running producer against server at $url =
failover://(tcp://amq-prod-2a:61616,tcp://amq-prod-2b:61616,tcp://amq-prod-2c:61616)
for subject $subject = TEST.FOO
     [java] Connecting to URL:
failover://(tcp://amq-prod-2a:61616,tcp://amq-prod-2b:61616,tcp://amq-prod-2c:61616)
(:)
     [java] Publishing a Message with size 1000 to queue: TEST.FOO
     [java] Using non-persistent messages
     [java] Sleeping between publish 0 ms
     [java] Running 1 parallel threads
     [java] log4j:WARN No appenders could be found for logger
(org.apache.activemq.thread.TaskRunnerFactory).
     [java] log4j:WARN Please initialize the log4j system properly.
     [java] log4j:WARN See
http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
     [java] [Thread-1] Sending message: 'Message: 0 sent at: Tue Mar 31
12:38:39 PDT 2015  ...'
...
     [java] [Thread-1] Sending message: 'Message: 1999 sent at: Tue Mar 31
12:38:40 PDT 201...'
     [java] [Thread-1] Done.

consumer:
     [echo] Running consumer against server at $url =
failover://(tcp://amq-prod-1a:61616,tcp://amq-prod-1b:61616,tcp://amq-prod-1c:61616)
for subject $subject = TEST.FOO
     [java] Connecting to URL:
failover://(tcp://amq-prod-1a:61616,tcp://amq-prod-1b:61616,tcp://amq-prod-1c:61616)
(:)
     [java] Consuming queue: TEST.FOO
     [java] Using a non-durable subscription
     [java] Running 1 parallel threads
     [java] log4j:WARN No appenders could be found for logger
(org.apache.activemq.thread.TaskRunnerFactory).
     [java] log4j:WARN Please initialize the log4j system properly.
     [java] log4j:WARN See
http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
     [java] [Thread-1] We are about to wait until we consume: 2000
message(s) then we will shutdown
     [java] [Thread-1] Received: 'Message: 0 sent at: Tue Mar 31 12:38:39
PDT 2015  ...' (length 1000)
...
     [java] [Thread-1] Received: 'Message: 1999 sent at: Tue Mar 31
12:38:40 PDT 201...' (length 1000)
     [java] [Thread-1] Closing connection
     [java] All threads completed their work

The only log information I see in /var/log/activemq.log on either master are
details about the master/slave coordination and the establishment of the
network.


________________________________
If you reply to this email, your message will be added to the discussion below:
http://activemq.2283324.n4.nabble.com/Creating-a-Network-of-Replicated-LevelDB-broker-clusters-tp4693979p4694156.html
To unsubscribe from Creating a Network of Replicated LevelDB broker clusters, 
click 
here<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4693979&code=a2V2aW4uc3VAYW0uc29ueS5jb218NDY5Mzk3OXw5MzA0MDE1ODU=>.
NAML<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Creating-a-Network-of-Replicated-LevelDB-broker-clusters-tp4693979p4694160.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to