Re: Clustering Tutorial

2011-06-27 Thread Claus Ibsen
On Tue, Jun 28, 2011 at 8:25 AM, alvinpaul wrote: > Hi, > > Can you help me with any tutorial link for replicated message store > clustering. I search a lot and could not find any. Please help me on this. > Hi FuseSource have some ActiveMQ guides. You can look here: http://fusesource.com/product

Clustering Tutorial

2011-06-27 Thread alvinpaul
Hi, Can you help me with any tutorial link for replicated message store clustering. I search a lot and could not find any. Please help me on this. Thanks -- View this message in context: http://activemq.2283324.n4.nabble.com/Clustering-Tutorial-tp3629561p3629561.html Sent from the ActiveMQ - Us

Re: Broker forwards msg only once or twice then msg stuck in queue.

2011-06-27 Thread joesmithcomm
Hi, Can any confirm if multi-hop msg forwarding works in a cluster of 3 or 4 brokers? If so, can someone can send a work activemq.xml configuration file and client jmsProvider config. Thanks -- View this message in context: http://activemq.2283324.n4.nabble.com/Broker-forwards-msg-only-once-o

Re: Junit Testing Master/Slave Program Hangs forever..

2011-06-27 Thread Vijay
Hope this help others: I had to start the Master in completely new thread and it works with below code... Thread t = new Thread(new Runnable() { public void run() { try { BrokerFactoryBean masterBroker

Re: Anyone using Embedded Broker in production?

2011-06-27 Thread Norman Maurer
Do you know if there will be a ActiveMQ 5.5.1 release for AMQ-3276 ? Bye, Norman 2011/6/27 Gary Tully : > While AMQ-3276 is ugly, I don't think it can cause any message loss. > btw:  that issue is resolved in the fusesource.com distro of 5.5 so > you may want to take that for a spin. > http://re

Re: Anyone using Embedded Broker in production?

2011-06-27 Thread Gary Tully
While AMQ-3276 is ugly, I don't think it can cause any message loss. btw: that issue is resolved in the fusesource.com distro of 5.5 so you may want to take that for a spin. http://repo.fusesource.com/nexus/content/repositories/releases/org/apache/activemq/apache-activemq/5.5.0-fuse-00-27/ On pu

Re: Anyone using Embedded Broker in production?

2011-06-27 Thread Vijay
Gary, can we have your input here.. Thanks. -- View this message in context: http://activemq.2283324.n4.nabble.com/Anyone-using-Embedded-Broker-in-production-tp3621799p3627996.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Tracing Broker to Producer Acks

2011-06-27 Thread Gary Tully
The "SENDING: Response ..." with the correlation id is enough, that is the response to a sync request. Ignore the "producer flow control" bit, that was just to determine the context, I was not sure because the producerAck term has a specific meaning in activemq. A producer does not typically get ac

RE: Activemq vs. Rabbitmq, performance Peaks

2011-06-27 Thread Idzerda, Edan
I noticed a similar trend of spikes in latency when I was testing AMQ 5.3.0/5.3.2, and I could link them to log entries for opening new kahadb journal files. In our case it was tied to synchronous disk IO performance, but it was still faster than what we needed, so we didn't worry about tuning

Re: Activemq vs. Rabbitmq, performance Peaks

2011-06-27 Thread darren
Havea you correlated those peaks with specific times in the activemq log? Probably a long shot, but maybe its the garbage collector in the JVM? If so, you can adjust the schedule for it. On Mon, 27 Jun 2011 04:28:56 -0700 (PDT), apuschmann wrote: > Hello, > > I have done some performance testi

RE: Tracing Broker to Producer Acks

2011-06-27 Thread Ozan Seymen
Do you think I should rely on "SENDING: Response ..." line as the broker's guarantee or should I enable producer flow control and trace ProducerAcks? I thought producer flow control was more to do with "resource management" and broker would always send some sort of persistence guarantee even pro

Re: Tracing Broker to Producer Acks

2011-06-27 Thread Gary Tully
great. One thought, it may be that the network connector is not requesting a sync send. It trys to respect the original client but in the case of a transacted client this may be a problem as messages are send async and batched at commit time. Using a client side connection url parameter, jms.alway

RE: Tracing Broker to Producer Acks

2011-06-27 Thread Ozan Seymen
I am just interested in understanding when the broker assumed responsibility for a specific message. I will use this trace information to go in a bit deeper in my tests where I am loosing messages in some scenarios - like http://activemq.2283324.n4.nabble.com/Message-loss-in-network-of-brokers-t

Re: Anyone using Embedded Broker in production?

2011-06-27 Thread Norman Maurer
Am 27.06.2011 15:56, schrieb Vijay: Gary and Norman, Thanks for your inputs. The only caveat is that its lifecycle is determined by the application that hosts it, but it will recovery its logs just fine in the event of an abortive failure Could you please throw more light on this. When you s

Re: Anyone using Embedded Broker in production?

2011-06-27 Thread Vijay
Gary and Norman, Thanks for your inputs. >The only caveat is that its lifecycle is determined by the application that hosts it, but >it will recovery its logs just fine in the event of an abortive failure Could you please throw more light on this. When you say lifecyle, are you referring to brok

Re: Anyone using Embedded Broker in production?

2011-06-27 Thread Norman Maurer
We use an embedded broker without any problem at work. But we are still on 5.4.2 because of this: https://issues.apache.org/jira/browse/AMQ-3276 Bye, Norman Am 27.06.2011 15:45, schrieb Gary Tully: sure it is, an embedded broker is no different from a standalone broker w.r.t to broker functio

Re: Anyone using Embedded Broker in production?

2011-06-27 Thread Gary Tully
sure it is, an embedded broker is no different from a standalone broker w.r.t to broker functionality and stability. The only caveat is that its lifecycle is determined by the application that hosts it, but it will recovery its logs just fine in the event of an abortive failure. What sort of conce

Re: Tracing Broker to Producer Acks

2011-06-27 Thread Gary Tully
That is a response to the send request with responseRequired=true, note the correlationId = 13 which corresponds to the RECEIVED commandId=13. So it confirms the receipt/store of the message. A producerAck, used for flow control would be a separate request. Is that what you are interested in, prod

Re: Anyone using Embedded Broker in production?

2011-06-27 Thread Vijay
Can anyone share their thoughts on this? ActiveMQ Inventors pls. have your say. -- View this message in context: http://activemq.2283324.n4.nabble.com/Anyone-using-Embedded-Broker-in-production-tp3621799p3627740.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ compilation in CC compiler in Solaris

2011-06-27 Thread Timothy Bish
On Sun, 2011-06-26 at 21:32 -0700, Radha Manickam wrote: > Hi, > > I am getting the following error while compiling ActiveMQ-CPP in CC compiler > in Solaris 10. > You could try building without SSL support enabled and see what you get. Not sure what version of SSL libs are installed but we test

Re: Junit Testing Master/Slave Program Hangs forever..

2011-06-27 Thread Vijay
As suggested, I changed my code to this, still no luck.Any further suggestions pls. public void testMasterSlaveFailover() throws Exception { cleanupDir("activemq-data"); BrokerFactoryBean masterBrokerFactory = new BrokerFactoryBean(new ClassPathResource("

RE: Tracing Broker to Producer Acks

2011-06-27 Thread Ozan Seymen
Thanks for this Gary. Is it possible to quickly confirm whether the line starting with "SENDING" is the ack returned from broker to the producer please? 2011-06-27 14:15:33,352 | DEBUG | RECEIVED: ActiveMQTextMessage {commandId = 13, responseRequired = true, messageId = ID:HAM-NB-073-58760-634

Activemq vs. Rabbitmq, performance Peaks

2011-06-27 Thread apuschmann
Hello, I have done some performance testing between activme and rabbitmq. First of all, I use ActiveMQ 5.4.0 on a Dual Core 1,8 and 2GB using kahadb, and a default configuration. I tested how fast activemq and rabbitmq can write and read messages from a persistence queue with a message size of ca.