Re: 500ooo+ queues?

2009-11-20 Thread Rob Davies
Hi Aaron, we've spent a lot time addressing file handles/startup time - ActiveMQ scales well in 5.3 cheers, Rob On 20 Nov 2009, at 11:40, Aaron Mulder wrote: It was my experience that ActiveMQ does not handle that well (destinations are not particularly "lightweight") and you'd do better t

Re: Deadlock in NMS/ActiveMQ

2009-11-20 Thread Timothy Bish
On Fri, 2009-11-20 at 16:50 -0800, Ted C. wrote: > Please disregard this. We are see deadlocks in our application but the repro > code included in the original message is incorrect. > > Thanks, > > Ted C. > > Ted C. wrote: If you do find a problem please feel free to open a new Jira issue and

Re: Deadlock in NMS/ActiveMQ

2009-11-20 Thread Ted C.
Please disregard this. We are see deadlocks in our application but the repro code included in the original message is incorrect. Thanks, Ted C. Ted C. wrote: > > All -- > > I'm hoping for some help. The following code reproduces a deadlock with > both NMS 1.1.0 and trunk (Revision 882781).

Deadlock in NMS/ActiveMQ

2009-11-20 Thread Ted C.
All -- I'm hoping for some help. The following code reproduces a deadlock with both NMS 1.1.0 and trunk (Revision 882781). The example behaves better under the trunk but still locks up after about 3 minutes. I've tried this with ActiveMQ 5.2 and 5.3 with essentially the stock configs (discover

Producers blocking

2009-11-20 Thread Gregory Guibert
Hello, I am setting up a configuration of activemq with a network of brokers (4 brokers instances) and I am facing several problems. I am using 5.2.0 release, java 1.6.0_07 1) Sometimes, the whole set of brokers would not respond anymore for message producing. (blocking sendings). After restartin

Re: C++ client for ActiveMQ discarding messages before reaching the consumer

2009-11-20 Thread Timothy Bish
On Fri, 2009-11-20 at 01:19 -0800, Saurbaum wrote: > > > Timothy Bish wrote: > > > > > > It would be helpful to know what version of the client you are using > > along with some more info about your clients such as the acknowledgement > > mode you are using, whether or not you are setting expir

Re: 500ooo+ queues?

2009-11-20 Thread Gary Tully
w.r.t to partitioning, I imagine a scheme where destinations 1-X exist on broker cluster A and X-N on broker cluster B. The client needs to randomly choose a destination or use some lookup/location mechanism. But as per Aaron's advice, do consider selectors as a way to reduce the destination count.

Re: No logging on org.apache.activemq.camel.component.ActiveMQComponent

2009-11-20 Thread ee7arh
Thanks for reply. We had a lot of logging categories. I stripped then all out and left the root category on DEBUG and then I see the logging as expected. Thanks Andrew Gary Tully wrote: > > can you use -Dlog4j.debug (set the system property) to validate that log4j > is getting the configurat

Re: 500ooo+ queues?

2009-11-20 Thread Aaron Mulder
It was my experience that ActiveMQ does not handle that well (destinations are not particularly "lightweight") and you'd do better to have a smaller number of destinations with selectors. RAM is not the main/only issue -- file handles and startup time also caused problems. Thanks, Aaron On W

Re: 500ooo+ queues?

2009-11-20 Thread Igor Katkov
Thank you, this is the kind of insight I was looking for. Gary Tully wrote: > > It may be best to partition your destinations across a cluster. > How do you mean it? What I have in mind is a network of brokers, X producers generate messages on one end of the network, Y consumers process them

Configurable IOException handling

2009-11-20 Thread Dejan Bosanac
Hi, new configurable IOException handling has been implemented http://activemq.apache.org/configurable-ioexception-handling.html Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http:/

Re: C++ client for ActiveMQ discarding messages before reaching the consumer

2009-11-20 Thread Saurbaum
Timothy Bish wrote: > > > It would be helpful to know what version of the client you are using > along with some more info about your clients such as the acknowledgement > mode you are using, whether or not you are setting expiration times on > messages etc. There's just not enough informatio

Re: Some message are delivered twice

2009-11-20 Thread Gary Tully
I recall an issue with duplicates under certain circumstances with 5.2. What version are you using? Please verify with 5.3.0 or the latest SNAPSHOT 2009/11/20 O. > > Hi everybody, > > I've made some tests and I saw something weird : > - One producer sends 100 000 messages (with an ID) in a queu

Some message are delivered twice

2009-11-20 Thread O.
Hi everybody, I've made some tests and I saw something weird : - One producer sends 100 000 messages (with an ID) in a queue - Then one (and only one) consumer reads this 100 000 messages The problem is that a package of 30 messages have been read twice by the consumer. I've done this 5 times

Re: ActiveMQ-CPP client using JNDI

2009-11-20 Thread thinkbox
Hi Tim, I am still not able to grasp the concept of ActiveMQ and how its destinations are made available with JNDI. I am following the tutorial at this link http://activemq.apache.org/integrating-apache-activemq-with-jboss.html Integrating Apache ActiveMQ with JBoss . I was able to successfully

Re: interacting with embedded queue with Spring JMS

2009-11-20 Thread BenAvery
thanks for the replies. on this project it turns out I didn't have to do this in the end, but it's a really interesting area, and something I'll certainly use in the future. we're very keen on the whole fire-and-forget paradigm that JMS offers. I had a look around Joe's idea of interacting with