storeUsage not working

2012-01-20 Thread kureckam
I'm trying to setup ActiveMQ to store a large number of messages sent to a queue but it seems to only use the memory limit and not the store limit. If I view the queue via jConsole it shows that cursorMemoryUsage reaches 1.5mb at which point it throws an Exception indicating memory limit reached. I

Remove queue prefix "activemq:queue:"

2012-01-20 Thread marks1900
I want to remove the queue name prefix "activemq:queue:" that is used when I send and receive messages via ActiveMq. So when I list the queue names in ActiveMq I want to see "my_test_thirdparty" and not "activemq:queue:my_test_thirdparty". Below is my current code. ===

Re: How to automatically remove messages from DLQ?

2012-01-20 Thread Ishitori
Thanks! Yeah, I thought about that. Okay I will set expiration time. Well, redelivery policy is working not as good as I supposed it to work. First of all, it blocks consumer to receive other messages until redelivery policy time reached. If you apply patch that makes consumer non-blocking then y

Re: How to automatically remove messages from DLQ?

2012-01-20 Thread Dejan Bosanac
You should put expiration time on the messages sent to the DLQ. BTW you don't need to handle redelivery and DLQ manually, broker can do that for you http://activemq.apache.org/message-redelivery-and-dlq-handling.html Regards -- Dejan Bosanac - http://twitter.com/dejanb - The exp

Re: Is Camel webapp missing on ActiveMQ 5.6 SNAPSHOT ??

2012-01-20 Thread guerra
wow, thanks for the feedback! Yes, it would be handy alright having some instructions for it. Can anyone provide those for 2.8?. The web console is attached to 8080 web port and I am already using it!. Also how can I connect it against the camel instance to see my routes, endopoints etc?. -- Vie

How to automatically remove messages from DLQ?

2012-01-20 Thread Ishitori
I have a queue where I store messages without expiration time. A consumer process messages, but it is okay that it can't successfully process them from the first try. If processing failed I resend message to the same queue with a delayed delivery (using scheduler). If a message can't be processed a

Re: Pause Queue/Topic for consumption / production?

2012-01-20 Thread Gary Tully
not at the moment, but feel free to raise an jira. It is worth thinking about exactly what is means, so pausing dispatch would just leave counters visible but not allow browsing. Pausing enqueues would allow a drain of the destination and pausing both would provide a static view of the counters. It

Re: Pause Queue/Topic for consumption / production?

2012-01-20 Thread rhuiser
Thanks Gary! This is good enough for me for development/test purposes. For production, this might not be applicable in all situations. Are there any plans to implement pausing / resuming destinations for future releases? -- View this message in context: http://activemq.2283324.n4.nabble.com/Pa

RE: ActiveMQ 5.4.1: weird behaviour

2012-01-20 Thread LE Phi Long
Gary, This error occurs as soon as activeMQ started so i doubt that journal is full. I also try to start activeMQ without journal so even when creating it, this error occurs. Other potential symptom: messages lost -Message d'origine- De : Gary Tully [mailto:gary.tu...@gmail.com] Envoyé

Re: ActiveMQ 5.4.1: weird behaviour

2012-01-20 Thread Gary Tully
I have not looked into that in detail, but I recall it is related to reaching the journal max and rolling over. It seems the checkpoint is not smart enough to deal with that case. Do all subsequent checkpoints fail? It may be that the only down side is potential slow recovery or do you see other s

ActiveMQ 5.4.1: weird behaviour

2012-01-20 Thread LE Phi Long
Chaps, I've read lots of things on the web but no solutions at all about an error message from activeMQ. The following error message occurs lots of time My configuration: AIX 5.3 / IBM jvm 1.6.0 SR9 Stacktrace from active MQ: 2012-01-20 11:34:34,687 | ERROR | Failed to mark the Journal: org.a

Re: Is Camel webapp missing on ActiveMQ 5.6 SNAPSHOT ??

2012-01-20 Thread Gary Tully
yes, it was pulled from the distro for 5.5.1 because it had lgpl dependencies[1]. You should be be able to pull the current version down from camel and manually install in see: http://camel.apache.org/web-console.html We need to validate, but I think the 2.8 version is ok for inclusion, just that

Re: Pause Queue/Topic for consumption / production?

2012-01-20 Thread Gary Tully
that capability does not exist, I guess pausing dispatch would do it, but then features like browsing would also be unavailable. What you can do is stop the transport connectors (via jmx stop/stop), so that the broker is essentially isolated, and restart them again. So long as clients use failover

Re: How to tell why message sent to DLQ?

2012-01-20 Thread Gary Tully
org.apache.activemq.broker.region.virtual.VirtualTopicInterceptor#send which calls: org.apache.activemq.broker.region.DestinationFilter#send On 20 January 2012 01:48, Jason Dillon wrote: > Can you point me at the code which handles virtual topic subscription message > propagation to consumer qu

ActiveMQ now fails to start at power on after a week of success!

2012-01-20 Thread Bill Moo
Hello List, I am running ActiveMQ v5.5.1 on my test server, an x64 SMP OpenBSD v5.0 install. As I work from a location away from the main office this machine is turned off every night. Over the past week the machine (and ActiveMQ) have started successfully. However, this morning my Java applet (de

Is Camel webapp missing on ActiveMQ 5.6 SNAPSHOT ??

2012-01-20 Thread guerra
Hi, I installed a ActiveMQ 5.6 snapshot and I realized camel webapp is kind of missing on ActiveMQ 5.6. Is there anything you could do to put it back as it was on previous versions of ActiveMQ?? Cheers -- View this message in context: http://activemq.2283324.n4.nabble.com/Is-Camel-webapp-missin