Re: AMQ DeadLetterStrategy Not Being Respected

2013-08-21 Thread Christian Posta
Seems to work for me: https://github.com/christian-posta/camel-sandbox/blob/master/one-off/src/test/java/posta/ActiveMQRollbackTest.java Switching to 5.5.1 and changing to use prefix works also: https://gist.github.com/christian-posta/6300601 So maybe the 5.5.1 version is a fuse version, and ma

Re: AMQ DeadLetterStrategy Not Being Respected

2013-08-21 Thread nezor
Alright that makes sense why suffix is not working, interesting that the broker was still created without an error though. I just tried to use queuePrefix and had the same result message is dropped into ActiveMQ.DLQ, updated broker config is below.

Re: AMQ DeadLetterStrategy Not Being Respected

2013-08-21 Thread nezor
Alright that makes sense why suffix is not working interesting that the broker was still created without an error though. I just tried to use queuePrefix and had the same result, updated broker config.

Re: Where are the data files stored?

2013-08-21 Thread Christian Posta
When you delete the data dir, does activemq correctly restore it? you can check your scripts also. some people specify ACTIVEMQ_DATA env variable, which gets set to system property named "activemq.data"... here's the code that resolves the data dir: public File getActiveMQDataDir() {

Re: Can you explain how this part works?

2013-08-21 Thread Christian Posta
Could be because it's inflight and not ack'd. Take a look here: http://activemq.apache.org/how-do-i-find-the-size-of-a-queue.html The webconsole doesn't show inflight messages (those dispatched, but not ack'd). Jconsole does. And the new webconsole (http://hawt.io) will. HTH On Wed, Aug 21, 201

Re: AMQ DeadLetterStrategy Not Being Respected

2013-08-21 Thread Christian Posta
Mmm... queue suffix wasn't added till 5.7.0. https://issues.apache.org/jira/browse/AMQ-4065 Your config works fine on 5.7.0 and greater. On Wed, Aug 21, 2013 at 6:35 AM, nezor wrote: > I'm using the standard activemq-broker.xml which comes pre-installed with > Fuse my version of ActiveMQ is 5

ActiveMQ XA JBoss 6.1 problem

2013-08-21 Thread juanlopez
Hi I have the same problem in this post Hi, We have some XA problems using ActiveMQ ra within Jboss 6.1 (tested in v5.6, v5.7 and v5.8 with the same result). The ActiveMQ is working in standalone mode (outside jboss). There are two resources involve

Where are the data files stored?

2013-08-21 Thread SledgeHammer
Man, my install seems corrupt. I stop & start the service (Windows 64) and old queues randomly pop up. I've deleted the data directory completely. Java.exe and wrapper.exe are completely gone. Where the heck are you guys pulling these from??? If I try to delete the queues and topics, the web conso

Can you explain how this part works?

2013-08-21 Thread SledgeHammer
So my set up is that each producer creates 2 queues (send queue and recv queue). When a consumer connects, it listens to the advisory queue and attaches to all the send queues. So for example, a consumer may be watching 10 send queues. The main work loop is: for (;;) { foreach queue Wait

Re: Validation ActiveMQ URI

2013-08-21 Thread Christian Posta
Do you mean validate it for correct parameters? I don't think there is something existing to use for that. Patches are welcome :) On Wed, Aug 21, 2013 at 5:03 AM, malina wrote: > Hello, I have small problem with Uri. I dont know how to validate uri which > contain : failover,static,vm,broker,fa

AMQ DeadLetterStrategy Not Being Respected

2013-08-21 Thread nezor
I'm using the standard activemq-broker.xml which comes pre-installed with Fuse my version of ActiveMQ is 5.5.1. I have added a deadLetterStrategy for Topics and Queues as indicated by this article http://activemq.apache.org/message-redelivery-and-dlq-handling.html

Validation ActiveMQ URI

2013-08-21 Thread malina
Hello, I have small problem with Uri. I dont know how to validate uri which contain : failover,static,vm,broker,fanout, ofcourse i validate uri which contain tcp,udp,ssl with URLValidator from org.apache.commons.validator package. I was looking at your documentation, but i couldn't find something t

Re: Broker leaks FDs - Too many open files

2013-08-21 Thread Pietro Romanazzi
etc/security/limits.conf set nofile regards, -Messaggio originale- From: Jerry Cwiklik Sent: Tuesday, August 20, 2013 6:04 PM To: users@activemq.apache.org Subject: Re: Broker leaks FDs - Too many open files Thanks, Paul. We are running on Linux (SLES). All clients use openwire. The