Re: DLQ queues based on _AMQ_ORIG_QUEUE

2023-12-08 Thread Justin Bertram
our client (e.g. _AMQ_ORIG_QUEUE = 'myConsumerName'). > Can I break something if I manually create another multicast queue on DLQ address with filter based on _AMQ_ORIG_QUEUE, or non-exclusive divert with filter which sends a copy of messages to another address? I'm not sure yo

DLQ queues based on _AMQ_ORIG_QUEUE

2023-12-08 Thread MILOVIDOV Aleksandr
Hi Team, When we configure address settings for dead-letter queue auto-creation in ActiveMQ Artemis, all queues on the DLQ address are created with filter based on _AMQ_ORIG_ADDRESS. Is it possible to auto-create queues with filter which uses _AMQ_ORIG_QUEUE instead of _AMQ_ORIG_ADDRESS ? For

Re: messages not moved to DLQ

2023-09-13 Thread Andreas Lanzl
Justin, thx a lot. that did it! From: Justin Bertram Sent: Wednesday, September 13, 2023 18:02 To: users@activemq.apache.org Subject: Re: messages not moved to DLQ [You don't often get email from jbert...@apache.org. Learn why this is important at

Re: messages not moved to DLQ

2023-09-13 Thread Justin Bertram
ut.println(rec.getStringProperty("text")); session.rollback(); } Justin On Wed, Sep 13, 2023 at 4:01 AM Andreas Lanzl wrote: > Hi all. > > I'm trying to test the DLQ function in artemis V 2.30.0 but i can't get it > working. My setup is like so: > running artemis insid

messages not moved to DLQ

2023-09-13 Thread Andreas Lanzl
Hi all. I'm trying to test the DLQ function in artemis V 2.30.0 but i can't get it working. My setup is like so: running artemis inside docker container with default configuration. According to the docs the max-delivery-attempts is by default 10. below is a little test programm writte

Re: [activemq-classic] Clean up scheduler not working on all messages in DLQ

2023-09-08 Thread Francois Papon
Hi JB, Yes these messages has been redelivered befor moving to the DLQ. regards, François On 08/09/2023 16:46, Jean-Baptiste Onofré wrote: Hi, The messages have been redelivered before moving to the DLQ ? Regards JB On Wed, Sep 6, 2023 at 9:08 AM fpapon wrote: Hi, I have an ActiveMQ

Re: [activemq-classic] Clean up scheduler not working on all messages in DLQ

2023-09-08 Thread Jean-Baptiste Onofré
Hi, The messages have been redelivered before moving to the DLQ ? Regards JB On Wed, Sep 6, 2023 at 9:08 AM fpapon wrote: > > Hi, > > I have an ActiveMQ (5.16.2/JDK11) broker with persistence message (kahadb). > > We are using a deadletter strategy to clean messages older th

[activemq-classic] Clean up scheduler not working on all messages in DLQ

2023-09-06 Thread fpapon
Hi, I have an ActiveMQ (5.16.2/JDK11) broker with persistence message (kahadb). We are using a deadletter strategy to clean messages older than 7 days but we can see that some of the older message are not clean up and we don't have any error/warning message in the logs... Here the config.xml

Re: Copy of duplicate delivery message in DLQ

2023-03-21 Thread Laetitia
Hello Matt, Thank you. Laetitia - Original Message - From: "Matt Pavlovich" To: users@activemq.apache.org Sent: Tuesday, March 21, 2023 3:33:58 AM Subject: Re: Copy of duplicate delivery message in DLQ Hello Laetitia- The message in the log is from the ActiveMQConsumer sup

Re: Copy of duplicate delivery message in DLQ

2023-03-20 Thread Matt Pavlovich
t; After having a case of "stuck messages" (as indicated in > https://activemq.apache.org/networks-of-brokers.html), I've configured our > Activemq instances with replayWhenNoConsumers. > Everything is working fine, but lately I have found few messages in DLQ with

Copy of duplicate delivery message in DLQ

2023-03-17 Thread Laetitia
Hi, After having a case of "stuck messages" (as indicated in https://activemq.apache.org/networks-of-brokers.html), I've configured our Activemq instances with replayWhenNoConsumers. Everything is working fine, but lately I have found few messages in DLQ with s

Re: DLQ for Topics?

2022-10-06 Thread Endre Stølsvik
Then 50 of them eventually nack the delivery - will there come 50 DLQ entries for this message? Retrying: As far as I thought I knew, the retrying of ActiveMQ happens on the client. That is, the broker only delivers the message once to the client, and then it is the client that does the redelive

Re: DLQ for Topics?

2022-10-06 Thread Matt Pavlovich
Hi Endre- 1. Yes, topics can support being DLQ’d to a queue. Set useQueueForTopicMessages=“true” in the deadLetterStrategy for the destinationPolicy you are using. ref: https://activemq.apache.org/message-redelivery-and-dlq-handling <https://activemq.apache.org/message-redelivery-and-

Re: DLQ for Topics?

2022-10-06 Thread Clebert Suconic
It’s supposed to work in both artemis and amq5. Would need more detail to figure out what you’re doing wrong. On Thu, Oct 6, 2022 at 5:42 AM Endre Stølsvik wrote: > Hi! > Is DLQ supported for plain Topics? I can't seem to get that to work. > > Also, I wonder what would happ

DLQ for Topics?

2022-10-06 Thread Endre Stølsvik
Hi! Is DLQ supported for plain Topics? I can't seem to get that to work. Also, I wonder what would happen if a topic was subscribed to by 100 consumers, and then 50 of them rolled back ("Nack'ed") the delivery? Thanks, Kind regards, Endre.

RE: Multiple queues in address + DLQ problem?

2022-01-31 Thread Dondorp, Erwin
Erik, Justin, Is this related to https://issues.apache.org/jira/browse/ARTEMIS-3159 (solved in 2.18.0) ? That one was about expiry of messages on multiple queues under one address. Both expiry and multi-nack are about moving messages to a secondary destination (ExpiryQueue or DLQ). Erwin

Re: Multiple queues in address + DLQ problem?

2022-01-31 Thread Justin Bertram
o consumers > consuming and nacking messages? The problem I'm finding is that when a nack > is sent back from one of the consumers on either queue, I use the > address::queue to access a specific queue, the auto created DLQ. > is created but the queue has no messages on it lik

Multiple queues in address + DLQ problem?

2021-10-24 Thread Erik Åsén
umers consuming and nacking messages? The problem I'm finding is that when a nack is sent back from one of the consumers on either queue, I use the address::queue to access a specific queue, the auto created DLQ. is created but the queue has no messages on it like it usually has when only one queue

Re: ActiveMQ how to set message expiry on a specific queue. Before sending to DLQ

2021-08-10 Thread Matt Pavlovich
we, Kelly wrote: > > I know you can set a global message expiry timeout, default 5 minutes before > messages are moved to DLQ. At least I think that’s it 😊 > > But how can I configure that setting on a queue by queue basis? > > I have a queue that handles a huge batch fo

ActiveMQ how to set message expiry on a specific queue. Before sending to DLQ

2021-08-02 Thread Howe, Kelly
I know you can set a global message expiry timeout, default 5 minutes before messages are moved to DLQ. At least I think that’s it 😊 But how can I configure that setting on a queue by queue basis? I have a queue that handles a huge batch for processing. Have been times, its taken longer

Re: Journal and DLQ?

2020-08-12 Thread Christopher Pisz
If I understand things right. With this configuration, when a message is sent, the client has 5000 ms to respond with the ACK, or the message will be resent, and this will occur a maximum of 3 times, at which point the message will be sent to the DLQ, and only be retrieved by the admin taking a

Re: Journal and DLQ?

2020-08-12 Thread Justin Bertram
gt;> ActiveMQ > >> > > > Artemis > >> > > > > > > CLI, e.g.: > >> > > > > > > > >> > > > > > > > cd /bin > >> > > > > > > > ./artemis browser --destination queue:/

Re: Journal and DLQ?

2020-08-12 Thread Christopher Pisz
> Justin >> > > > > > > >> > > > > > > On Tue, Aug 11, 2020 at 1:20 PM Christopher Pisz < >> > > > > > > christopherp...@gmail.com> >> > > > > > > wrote: >> > > > > > > >> > >

Re: Journal and DLQ?

2020-08-12 Thread Christopher Pisz
Pisz < > > > > > > > christopherp...@gmail.com> > > > > > > > wrote: > > > > > > > > > > > > > > > Unfortunately when I try to forward x over ssh and bring up > > > > Firefox, > > > &g

Re: Journal and DLQ?

2020-08-12 Thread Justin Bertram
t; > Unfortunately when I try to forward x over ssh and bring up > > > Firefox, > > > > it > > > > > > is > > > > > > > nearly completely unresponsive. Is there another way that > doesn't > > > > > > requir

Re: Journal and DLQ?

2020-08-12 Thread Christopher Pisz
; > > > > browser? > > > > > > > > > > > > On Tue, Aug 11, 2020, 12:49 Justin Bertram > > > > wrote: > > > > > > > > > > > > > > How can I get a message to be "journaled?" > > >

Re: Journal and DLQ?

2020-08-12 Thread Justin Bertram
> On Tue, Aug 11, 2020, 12:49 Justin Bertram > > > wrote: > > > > > > > > > > > > How can I get a message to be "journaled?" > > > > > > > > > > > > A message which is stored in the journal is a "persist

Re: Journal and DLQ?

2020-08-12 Thread Christopher Pisz
49 Justin Bertram > > wrote: > > > > > > > > > > How can I get a message to be "journaled?" > > > > > > > > > > A message which is stored in the journal is a "persistent" or > > "durable" > > >

Re: Journal and DLQ?

2020-08-12 Thread Justin Bertram
t; > > > > How can I get a message to be "journaled?" > > > > > > > > A message which is stored in the journal is a "persistent" or > "durable" > > > > message. Every API and protocol handles this in a different but &g

Re: Journal and DLQ?

2020-08-12 Thread Christopher Pisz
nt but similar > > > way. If you're using STOMP and you want your message to be stored in > the > > > journal then set the "persistent" header to "true". > > > > > > > How can I get a message into the DLQ? > > > > > &

Re: Journal and DLQ?

2020-08-11 Thread Justin Bertram
tored in the journal is a "persistent" or "durable" > > message. Every API and protocol handles this in a different but similar > > way. If you're using STOMP and you want your message to be stored in the > > journal then set the "persistent" header

Re: Journal and DLQ?

2020-08-11 Thread Christopher Pisz
sage which is stored in the journal is a "persistent" or "durable" > message. Every API and protocol handles this in a different but similar > way. If you're using STOMP and you want your message to be stored in the > journal then set the "persistent" head

Re: Journal and DLQ?

2020-08-11 Thread Justin Bertram
n the journal then set the "persistent" header to "true". > How can I get a message into the DLQ? First you have to configure the proper settings to send messages to a DLA when they fail delivery a certain number of times. Refer to the docs [1] on how to do that. Then the m

Journal and DLQ?

2020-08-11 Thread Christopher Pisz
;journaled?" How can I get a message into the DLQ? How can I, as an admin, view those messages?

Re: Active MQ DLQ messages with a dlqDeliveryFailureCause cause that is null

2020-04-29 Thread nomit babraa
; > Cheers > > > > n > > > > On Sun, 26 Apr 2020 at 09:23, nomit babraa wrote: > >> > >> Hi > >> > >> I'm using the Camel Transactional Client EIP with *all* delivery > >> configured in AMQ. > >> > >> When I u

Re: Active MQ DLQ messages with a dlqDeliveryFailureCause cause that is null

2020-04-27 Thread Jean-Baptiste Onofre
> > Cheers > > n > > On Sun, 26 Apr 2020 at 09:23, nomit babraa wrote: >> >> Hi >> >> I'm using the Camel Transactional Client EIP with *all* delivery >> configured in AMQ. >> >> When I use a transacted JMS client, camel pr

Re: Active MQ DLQ messages with a dlqDeliveryFailureCause cause that is null

2020-04-27 Thread nomit babraa
handled > exceptions back to the Broker. After max redeliveries the message is > sent to the AMQ configured DLQ, as expected. > > I've noticed that my DLQ messages have a dlqDeliveryFailureCause header. > > And this header has a "cause" item which is null for

Active MQ DLQ messages with a dlqDeliveryFailureCause cause that is null

2020-04-26 Thread nomit babraa
Hi I'm using the Camel Transactional Client EIP with *all* delivery configured in AMQ. When I use a transacted JMS client, camel propagates non handled exceptions back to the Broker. After max redeliveries the message is sent to the AMQ configured DLQ, as expected. I've noticed t

Re: expired AMQ persistent messages are not moved to DLQ immediately

2020-03-10 Thread Jean-Baptiste Onofre
Hi, Are you using a custom shared letter strategy on the destination or the default one ? Regards JB > Le 10 mars 2020 à 07:27, xilver a écrit : > > i have set TTL of persistent messages in a queue as 5 seconds, the messages > did expire and landed in the DLQ, however, i not

expired AMQ persistent messages are not moved to DLQ immediately

2020-03-10 Thread xilver
i have set TTL of persistent messages in a queue as 5 seconds, the messages did expire and landed in the DLQ, however, i notice that the expired messages will only appear in the DLQ after 10+ to 20+ seconds at random after it was sent even though the TTL is set as 5 seconds. Is there a way to

Re: Re: Unexpected DLQ behaviour with non-persistent messages

2020-02-05 Thread Martin Lichtin
Hi JB Yes I've enabled DLQ to accept non-persistent messages. Noone likes to loose a message for no apparent reason, i.e. simply because a consumer cannot currently handle it :-) Not persisting a message does not mean to not care about it. I've created AMQ-7397, glad to see we can

Re: Unexpected DLQ behaviour with non-persistent messages

2020-02-03 Thread Jean-Baptiste Onofré
Hi Martin, Just to be sure: did you enable DLQ for non persistent message ? I'm splitted about that: as a message in DLQ never expired, I would expect that it would stay forever (as DLQ requires a "manual" action). However, I see your point: as the original message is non-persist

Re: Re: Unexpected DLQ behaviour with non-persistent messages

2020-02-03 Thread Martin Lichtin
ect to loose such a message. In my case it is perfectly reasonable for a non-persistent message to go to DLQ, having a server-side retry configured, to pass the message to another consumer that can perhaps handle the message. There's no reason for DLQ to have 'stronger' persis

Re: Unexpected DLQ behaviour with non-persistent messages

2020-01-30 Thread Jean-Baptiste Onofré
Hi, If you enable DLQ to non-persistent message (it's disabled by default), then, IMHO, any message stored in DLQ should survive to broker restart (else it's not really a DLQ). Again, as non-persistent messages are not supposed to go in DLQ. To send the non-persistent messages to DLQ, y

Unexpected DLQ behaviour with non-persistent messages

2020-01-30 Thread Martin Lichtin
Can somone help me understand why a non-persistent message is "converted" into a persistent message on entering DLQ? It happens in RegionBroker, around line 733:     if (!message.isPersistent()) {     message.setPersi

Re: Custom dead letter strategy or intercept message to be sent to DLQ

2020-01-20 Thread emw
Solved implementing a plugin: @Component public class DlqBroker extends BrokerFilter { @Override public boolean sendToDeadLetterQueue(ConnectionContext context, MessageReference messageReference, Subscription subscription, Throwable poisonCause) {

Custom dead letter strategy or intercept message to be sent to DLQ

2020-01-09 Thread emw
-> publish to /alarms -> activemq via virtual topic VirtualTopic..alarms allows me to listen to Consumer.XXX.VirtualTopic.*.alarms and get all the alarms from all client-idS. I can then retrieve client-id by parsing the the original destination but if the message for some reason is sent to DL

Re: Artemis: DLQ not working with Core

2019-06-24 Thread Justin Bertram
If you're really hitting a dead-lock then that's worth a JIRA [1]. It's worth noting that there are legitimate exceptions which can be thrown by the client during failover. See the "Handling Blocking Calls During Failover" [2] section of the "High Availability and Failover" chapter in the document

Re: Artemis: DLQ not working with Core

2019-06-24 Thread Bummer
Ah, my bad then. I’m sorry, I must have been out of my mind when writing the post. The reason why I still have to deal with this is that I’ve experienced deadlocks when committing during failover. Nothing but rebooting the client helped. I might open a different topic in case it happens again. Ja

Re: Artemis: DLQ not working with Core

2019-06-24 Thread Justin Bertram
I'm not quite sure I understand your question. The test doesn't call commit() because it calls rollback() instead. The point of the test is to make the broker send the message to the dead-letter address and it can't do that unless the delivery fails. The failed delivery is triggered by invoking rol

Re: Artemis: DLQ not working with Core

2019-06-24 Thread Bummer
Isn't the test missing the "consumer.commit(...)" part? If not, why? It seems that without it the committing does not happen. One would say that it's obvious, right? :-) Yet the test works without it. Is it because the consumer is closed right after consuming the message? -- Sent from: http://

Re: Artemis: DLQ not working with Core

2019-06-07 Thread Justin Bertram
If you don't ack the message the broker doesn't know that the client has actually tried to consume the message. It will just assume it sat in the client's buffer and was never actually seen and that doesn't qualify as a failed delivery. Justin On Fri, Jun 7, 2019 at 1:26 AM Bummer wrote: > Got

Re: Artemis: DLQ not working with Core

2019-06-06 Thread Bummer
Got it! :-) This is the bit that I was missing: I didn't know that I need to actually acknowledge the message before I refuse it! ** Thank you for pointing me the right direction. :-) -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Artemis: DLQ not working with Core

2019-06-06 Thread Justin Bertram
rtemis test-suite [1]. Justin [1] https://github.com/apache/activemq-artemis/blob/master/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/DeadLetterAddressTest.java#L59 On Thu, Jun 6, 2019 at 7:01 AM Bummer wrote: > Hello. > > How do I make m

Artemis: DLQ not working with Core

2019-06-06 Thread Bummer
Hello. How do I make my message end up in DLQ while using the Core protocol? My code in Groovy: The assertion should be true, as the message is supposed to end up in the default DLQ after 10 receive attempts as per [1]. But even on a freshly spawned Artemis 2.8.1 instance this does not work

Cursors, queues and DLQ

2018-12-12 Thread GFO
Hi all, I am trying to understand queues, DLQ, memoryLimit, producerFlowControl and cursors. I hope someone can help me! My tests are: 1/ MemoryLimit on a queue, with producerFlowControl set to true (default). I send messages to this queue, memoryLimit is reached and then the producer is

Re: Duplicates are sent to DLQ

2018-10-08 Thread fposchperform
lay=15000 *activemq.xml* *DLQ Export of one message* -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Logging DLQ activity

2018-07-26 Thread Tim Bain
Are you able to reliably reproduce the behavior where a message is sent to the DLQ but sendToDeadLetterQueue() is not called? If you are, can you share that setup? With the help of a debugger or a profiler we might be able to figure out why it's inconsistent, and how we could tie in to some

Re: Logging DLQ activity

2018-07-25 Thread Frizz
Yes, this is what I've ended up with (Broker Plugin). Unfortunately it does not work reliably for sendToDeadLetterQueue() (-> some messages are moved to DLQ but sendToDeadLetterQueue is not called). So I used send() instead -> this works. Two notes: 1) I am not 100% happy to hoo

Re: Logging DLQ activity

2018-07-17 Thread Tom Hall
oker/util/LoggingBrokerPlugin.java> Thanks, Tom > On Jul 17, 2018, at 1:20 AM, Frizz wrote: > > I'd like to get notified each time a messages ends up in a DLQ. > > My preferred solution would be to use the existing ELK stack and write a > filter in Kibana. > (have the AM

Logging DLQ activity

2018-07-17 Thread Frizz
I'd like to get notified each time a messages ends up in a DLQ. My preferred solution would be to use the existing ELK stack and write a filter in Kibana. (have the AMQ logfiles sent via Logstash to Kibana) Question is: How can I configure AMQ to write DLQ related messages in the logfiles?

Re: Duplicates are sent to DLQ

2018-07-03 Thread Bob
then by unplugged or discarding the dlq it looks like we are againts amq nature processing here - just opinion -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Duplicates are sent to DLQ

2018-05-29 Thread Anna Jaworska
I had same problem, as workaround I wrote small plugin that discards everything that goes into DLQ, as it was acceptable in my case to not store Dlq content. wt., 29.05.2018, 14:37 użytkownik winking napisał: > I have created a bug report without any luck: AMQ-6802 > <https://issues.a

Re: Duplicates are sent to DLQ

2018-05-29 Thread winking
I have created a bug report without any luck: AMQ-6802 <https://issues.apache.org/jira/browse/AMQ-6802> I wasn't able to find a solution for this issue, however, a workaround via deadLetterStrategy. DLQ messages are to be expired after X milliseconds to avoid at least the overflo

Re: Duplicates are sent to DLQ

2018-05-22 Thread JackOfAllTrades
I have basically getting the same warnings I posted this to these forums over two weeks ago and have not seen a response yet. http://activemq.2283324.n4.nabble.com/duplicate-message-from-store-ID-snip-redirecting-for-dlq-processing-td4739238.html It's been pretty frustrating to not hear any

Re: Duplicates are sent to DLQ

2018-05-22 Thread Bob
can i know is there any solution for this ? looks like im having exactly the same problem and my concern is whether we can modify cursor to receive duplicate message from queue or not by disabling the audit level cursor. Thanks -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f

Re: duplicate message from store ID [snip] redirecting for dlq processing

2018-05-04 Thread JackOfAllTrades
Correction to version. I amusing 5.15.2 And I forgot to mention that the response code does the following: after retrieving the command message. message.acknowledge(); // not sure if I even need this with client ack TextMessage reply = qSess.createTextMessage(); reply.setText(respons

duplicate message from store ID [snip] redirecting for dlq processing

2018-05-04 Thread JackOfAllTrades
tatus responses, but I am also getting a lot of warning messages in the Activemq logs stating: "duplicate message from store ID [snip] redirecting for dlq processing. Why do I keep on getting all of these warning messages? Thanks for looking Steve -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: expired messages --> DLQ ? (when expiration=0)

2018-04-04 Thread Илья Шипицин
strange, accept message and drop it right > > away ? is there a possibility to reject such messages ? > > it will inform client in a better way > > > > 2018-04-04 9:12 GMT+05:00 Tim Bain : > > > > > Ilya, > > > > > > The output you're s

Re: expired messages --> DLQ ? (when expiration=0)

2018-04-04 Thread Tim Bain
you're seeing is from the message as it's being put onto the > > DLQ. (destination=queue://DLQ.EdiInbound") This means that it has already > > passed through the set of transformations that occur in > > orc.apache.activemq.broker.region.RegionBroker.sendToDeadLe

Re: expired messages --> DLQ ? (when expiration=0)

2018-04-03 Thread Илья Шипицин
0 Tim Bain : > Ilya, > > The output you're seeing is from the message as it's being put onto the > DLQ. (destination=queue://DLQ.EdiInbound") This means that it has already > passed through the set of transformations that occur in > orc.apache.activemq.broker.regi

Re: expired messages --> DLQ ? (when expiration=0)

2018-04-03 Thread Tim Bain
Ilya, The output you're seeing is from the message as it's being put onto the DLQ. (destination=queue://DLQ.EdiInbound") This means that it has already passed through the set of transformations that occur in orc.apache.activemq.broker.region.RegionBroker.sendToDeadLe

expired messages --> DLQ ? (when expiration=0)

2018-04-03 Thread Илья Шипицин
ation is 0 (we did not set it, it's default): expiration = 0 as we can see, message was expired and delivered to DLQ. it was not intended behaviour. also, documentation states that expiration = 0 means "no expiration" please, explain me. I do not understand how expirati

Re: [ARTEMIS] A diverted message cannot be retried from DLQ

2018-01-30 Thread Archibald
See also: https://issues.apache.org/jira/browse/ARTEMIS-1645. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS] A diverted message cannot be retried from DLQ

2018-01-30 Thread Archibald
Yes, I stumbled across this issue running 2.4.0. But wrote a test against master. Br, A. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS] A diverted message cannot be retried from DLQ

2018-01-30 Thread mbukosky
Do you know off hand if this issue is also in version 2.4? -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS] A diverted message cannot be retried from DLQ

2018-01-27 Thread Archibald
Before someone asks: I ran the test against current master. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: [ARTEMIS] A diverted message cannot be retried from DLQ

2018-01-27 Thread Archibald
Hmm, don't know why the original mail message text is no being posted here but only the attachment, but anyway here it is again: Given a topic SOURCE and a divert which forwards a message M to a queue TARGET. Consumer fails to process M and M is being send to DLQ. If you now retry M from D

[ARTEMIS] A diverted message cannot be retried from DLQ

2018-01-27 Thread Archibald Whilshire
ssert.assertEquals(1, array.size()); long l = Long.parseLong(array.getJsonObject(0).get("key").toString().replaceAll("\"", "")); Assert.assertEquals(matchingValue, l); consumeMessages(2, session, queue); jsonString = queueControl.lis

Re: [ARTEMIS] DLQ: retryMessages()

2018-01-24 Thread Francesco Nigro
> Sorry, i forgot to mention. I am currently running Artemis 2.4.0. Did you have checked with the latest master too? > What kind of test do you expect? It should be reproduceable with any DLQ containing more than 1 message. Just one that fail :): it would be great to help anyone (includi

Re: [ARTEMIS] DLQ: retryMessages()

2018-01-24 Thread Archibald
Sorry, i forgot to mention. I am currently running Artemis 2.4.0. What kind of test do you expect? It should be reproduceable with any DLQ containing more than 1 message. The user's test is to invoke the method above from queue's operations list in the admin console. HTH, Archibald

Re: [ARTEMIS] DLQ: retryMessages()

2018-01-24 Thread Francesco Nigro
Hi!! which version of Artemis you've tried and most importantly: do you have a reproducer/test/full stack trace? It would be of great help :) Thanks, Franz Il giorno mer 24 gen 2018 alle ore 14:56 Archibald ha scritto: > BTW: A single message issued with retryMessage() works. > > > > -- > Sent

Re: [ARTEMIS] DLQ: retryMessages()

2018-01-24 Thread Archibald
BTW: A single message issued with retryMessage() works. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

[ARTEMIS] DLQ: retryMessages()

2018-01-24 Thread Archibald
Hi all, when launch the retryMessages() command from the Artemis console on the DLQ I only get: java.lang.ClassCastException : [B cannot be cast to [Ljava.langObject; Nothing like that is shown in the broker's log. So I assume it is something in hawtio? Can this be fixed? This function i

Setting the dlq on individual queues using Java

2018-01-18 Thread swebb99_uk
Hi, I've looked at lots of pages on setting the dlq per queue but I just can't see how using java I can set a specific dlq or one for several queues. I've seen examples using xml configuration. What I really want to do is create listeners for several queues and for each specify t

Re: ActiveMQ offload messages from DLQ to Disk

2017-11-20 Thread Tim Bain
You'd need to write a consumer that reads messages from the DLQ (the easy part) and writes them to wherever you want them stored, like a database or flat files or whatever (the hard part). Since the hard part of the problem will be different for any given ActiveMQ user, there's n

ActiveMQ offload messages from DLQ to Disk

2017-11-20 Thread anandn
I need to offload messages from a DLQ queue to the disk to avoid store percent from going up. Is there any way to do that in activemq v5.5.1 ? -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: ActiveMQ DLQ issues

2017-11-20 Thread augustl
Thanks for the detailed response! Unfortunately I don't know when the out of memory error happened. My logs were full of them. Messages started appearing in the DLQ about 21:00, and the logs with the OOM start at around 05:00 the day after. On the producer end, I connect to ActiveMQ us

Re: ActiveMQ DLQ issues

2017-11-20 Thread augustl
Thanks for the detailed response! Unfortunately I don't know when the out of memory error happened. My logs were full of them. Messages started appearing in the DLQ about 21:00, and the logs with the OOM start at around 05:00 the day after. On the producer end, I connect to ActiveMQ us

Re: ActiveMQ DLQ issues

2017-11-20 Thread Tim Bain
8 > > https://github.com/apache/activemq/blob/41a100766c19655816d575841ba559 > d33c63313d/assembly/src/release/conf/activemq.xml#L55 > > On Mon, 20 Nov 2017 at 11:08 augustl wrote: > > > Thanks for the detailed response! > > > > Unfortunately I don't know when the out of memory error ha

Re: ActiveMQ DLQ issues

2017-11-20 Thread Gary Tully
stl wrote: > Thanks for the detailed response! > > Unfortunately I don't know when the out of memory error happened. My logs > were full of them. Messages started appearing > in the DLQ about 21:00, and the logs with the OOM start at around 05:00 the > day after. > > O

Re: ActiveMQ DLQ issues

2017-11-20 Thread augustl
Thanks for the detailed response! Unfortunately I don't know when the out of memory error happened. My logs were full of them. Messages started appearing in the DLQ about 21:00, and the logs with the OOM start at around 05:00 the day after. On the producer end, I connect to ActiveMQ us

Re: ActiveMQ DLQ issues

2017-11-18 Thread Tim Bain
her there are any consumers there. So, for the topic in question, were there any consumers for that topic on the remote broker? Could this have been as simple as a message being discarded because there were no consumers once the message arrived on the remote broker? For normal topics, messages disca

Re: ActiveMQ DLQ issues

2017-11-17 Thread augustl
I also got these messages when I had a network connector setup. The setup seems similar to OP, where we had a message configured to be sent via a staticallyIncludedDestinations block, and it ended up in the DLQ with "TopicSubDiscard". Here's a full dump of one of the messages that

Re: ActiveMQ Config to purge 'persistent' messages in DLQ.

2017-10-23 Thread benzagel
Thanks for your help Tim! The system has been smooth since. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: ActiveMQ DLQ issues

2017-10-19 Thread Tim Bain
> physicalName="mirth.applogger"/> > > > > > > > > > > > Now I have been experiencing a

Re: ActiveMQ Config to purge 'persistent' messages in DLQ.

2017-09-25 Thread Tim Bain
You've probably already tried this and found it out, but persistent messages are the normal case for the SharedDeadLetterStrategy, so they'll be processed even if processExpired is false. Non-persistent messages are not sent to the DLQ by default, which is why you've explicitly e

Re: ActiveMQ Config to purge 'persistent' messages in DLQ.

2017-09-18 Thread benzagel
Will this work on messages that are marked as 'Persistent'? I have changed the config to now have processexpired to false. I understand why the previous one would be circular in processing. Just wondering about persistent messages. Chris -- Sent from: http://activemq.2283324.n4.nabble.com/Act

ActiveMQ DLQ issues

2017-09-15 Thread mtod
g a lot of messages going to the DLQ. I looked at the messages and they don't seem to have anything wrong with them I did notice the following: dlqDeliveryFailureCause java.lang.Throwable: TopicSubDiscard. ID:localhost->fmiuseastp01-63022-1486246061090-100948:1:1:2 I'm not sure

Re: ActiveMQ Config to purge 'persistent' messages in DLQ.

2017-09-11 Thread Tim Bain
I believe the problem is that your current configuration has your messages expire after 24 hours on the DLQ, only to be deleted and sent to. the DLQ. I believe this is what is referred to by the warning in the Setting Expiration on Messages in the DLQ section of http://activemq.apache.org

  1   2   3   4   >