Re: Artemis 2.32.0 some expired messages are lost

2024-04-09 Thread Justin Bertram
rting test... Sending messages... Finished sending messages. Messages sent: 120. Waiting some time for all messages to expire. Test completed. Expired messages received: 120 Here's the output of the "queue stat" command: $ ./artemis queue stat Connection brokerU

Re: Artemis 2.32.0 some expired messages are lost

2024-04-09 Thread rusu ionut
Hello Justin,  I've tested on my side and the messages are not moved to expiry queue. I suspect that in your case you didn't reproduces the problem. You just closed the tester/reproducer before all the messages are expired.In my case I can reproduce the problem when I run the test for a longer p

Re: Artemis 2.32.0 some expired messages are lost

2024-04-03 Thread Justin Bertram
tely schedule another run of the scanner which will pick up where the previous one left off. Then it will deal with any expired messages it found in the 1,000 it scanned. In this way the scanner will kind of nibble at the queue until all the messages are scanned and all the expiries are dealt with.

Re: Artemis 2.32.0 some expired messages are lost

2024-04-01 Thread rusu ionut
Hello Justin,Did you have time to look into my issue? Do you have any update? Let me know if you find anything. Best regards,Ionut

Re: Artemis 2.32.0 some expired messages are lost

2024-03-18 Thread rusu ionut
Sorry for late response,I've created this github repo that you can use to test this: RusuIonutMihai/TestArtemisMessageExpiration (github.com). The details are in this README file. Also I want to mention other things that I've noticed: After the problem occurs, if the broker is restarted, then t

Re: Artemis 2.32.0 some expired messages are lost

2024-03-12 Thread Justin Bertram
I'm not aware of any problems like this. Can you provide a way to reproduce it? Justin On Tue, Mar 12, 2024 at 9:27 AM rusu ionut wrote: > Hello,I'm using latest version of Artemis with AmqpNetLite from .NET to > send/receive messages. I have the following scenario: one queue (Q1) with > an e

Artemis 2.32.0 some expired messages are lost

2024-03-12 Thread rusu ionut
Hello,I'm using latest version of Artemis with AmqpNetLite from .NET to send/receive messages. I have the following scenario: one queue (Q1) with an expiry address set. Q1 will receive messages with Ttl of 1 minute. So messages will be available in Q1 for 1 minute and then are moved to expiry a

Re: extraproperties become string in expired messages

2022-01-31 Thread Justin Bertram
sue > https://issues.apache.org/jira/browse/ARTEMIS-3623 (closed). > > :-) > > Erwin > > -Oorspronkelijk bericht- > Van: Justin Bertram > Verzonden: maandag 31 januari 2022 20:17 > Aan: users@activemq.apache.org > Onderwerp: Re: extraproperties become string in

RE: extraproperties become string in expired messages

2022-01-31 Thread Dondorp, Erwin
n: maandag 31 januari 2022 20:17 Aan: users@activemq.apache.org Onderwerp: Re: extraproperties become string in expired messages EXTERNAL SENDER: Do not click any links or open any attachments unless you trust the sender and know the content is safe. EXPÉDITEUR EXTERNE:Ne cliquez sur auc

Re: extraproperties become string in expired messages

2022-01-31 Thread Justin Bertram
Looking at the code it looks to me like the type of the original data should be preserved. Where are you seeing the Strings? Are you debugging the broker or are you seeing them in the data returned from the broker to the web console? Justin On Fri, Nov 12, 2021 at 5:48 PM Dondorp, Erwin wrote:

extraproperties become string in expired messages

2021-11-12 Thread Dondorp, Erwin
Hello, On expiry of a (AMQP) message, some extra properties are added, which together with some application properties result in the table below, taken from screen "Browse Queue". The values from the "extraProperties" group of properties are all strings, which is unexpected for at least _AMQ_AC

Re: Discarded messages and Expired messages.

2019-04-08 Thread Tim Bain
The plugin will discard any message that would have gone to the specified DLQ instead of putting it on the DLQ. >From your description, I think what you want is (source: http://activemq.apache.org/message-redelivery-and-dlq-handling.html ) Tim On Wed, Apr 3, 2019, 3:38 AM Bob wrote: > Hi Tim,

Re: Discarded messages and Expired messages.

2019-04-03 Thread Bob
Hi Tim, So much appreciated for your help! Yes almost there! One last concern is about this plugin Based on some research is it true by implementing this will avoid any problematic messages from entering Activemq.DLQ ? Thanks Bob -- Sent from: http://activemq.2283324.n4.nabble.com/Act

Re: Discarded messages and Expired messages.

2019-04-03 Thread Bob
Hi Tim, So much appreciated for your help! Yes almost there! One last concern is about this plugin Based on some research is it true by implementing this will avoid any problematic messages from entering Activemq.DLQ ? Thanks Bob -- Sent from: http://activemq.2283324.n4.nabble.com/Act

Re: Discarded messages and Expired messages.

2019-04-02 Thread Tim Bain
Bob, So if I'm understanding correctly, you're concerned that there might be existing messages in the DLQ at the time you enabled the discardingDLQBrokerPlugin, and you want a way to clear out those pre-existing messages. Your use of the discardingDLQBrokerPlugin already ensures that any new messa

Re: Discarded messages and Expired messages.

2019-04-01 Thread Bob
Hi Tim, My intention is like to automatically purge all the messages which was there(existing) in the Activemq.DLQ. Is there any such way to do that apart from manual purging? Currently im using this discarding plugin but through some search it mentions that this plugin will only avoid the next

Re: Discarded messages and Expired messages.

2019-03-29 Thread Tim Bain
I'm not understanding what you're trying to do. Are you looking to do a one-time, manual purge of "all the messages which was already in the activemq.dlq"? Or are you looking for ongoing, automatic discarding of messages if they stay on the DLQ for longer than some expiration period? Or are you try

Re: Discarded messages and Expired messages.

2019-03-29 Thread Bob
Hi thanks for the explanation. So apart from that is there any way to discard all the messages which was already in the activemq.dlq ? any help is appreciated -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Discarded messages and Expired messages.

2018-09-21 Thread Tim Bain
The bit is not meant to be used literally; it means "whatever you had already chosen to use here." Try replacing it with sharedDeadLetterStrategy. However, that setting is for controlling the expiration of the message off the DLQ, not for controlling the expiration of the message off the orig

Re: Discarded messages and Expired messages.

2018-09-21 Thread Bob
Hi sry to interrupt, is this the correct way to put expirration messages in dlq ? Because once implement even broker is fail to run < expiration="30"/> -- Sent from: http://activemq.2283324.n4.nabble.co

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

2018-04-04 Thread Илья Шипицин
well, before submitting issue, I'd like to ask if there's already a possibility to configure that way. ok, got your point, will open a request 2018-04-04 17:29 GMT+05:00 Tim Bain : > If you think that message expiration should be checked when the publisher > publishes the message, you can submit

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

2018-04-04 Thread Tim Bain
If you think that message expiration should be checked when the publisher publishes the message, you can submit an enhancement request in JIRA for it. Tim On Tue, Apr 3, 2018, 11:15 PM Илья Шипицин wrote: > Tim, thank you for your investigation (looks like our client is buggy, > we'll look at i

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

2018-04-03 Thread Илья Шипицин
Tim, thank you for your investigation (looks like our client is buggy, we'll look at it). besides that, doesn't it look 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 : > Il

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.sendToDeadLetterQueue() and RegionBroker.st

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

2018-04-03 Thread Илья Шипицин
hello, activemq.log:2018-04-03 10:42:57,961 | INFO | preProcessDispatch: MessageDispatch {commandId = 0, responseRequired = false, consumerId = ID:dd-amq-app01. sd.kontur.ru-32887-1522738593874-4:1:1:1, destination = queue://DLQ.EdiInbound, message = ActiveMQTextMessage {commandId = 5, responseRe

Re: Iterate over non-persistent activemq expired messages in ActiveMQ.Advisory.Expired.Queue

2016-09-26 Thread Tim Bain
ERSISTENT (*iam not dealing with > PERSISTENT delivery mode and i know it will be stored in DLQ-which is not > my > design*)and have set a time to live for the message using > producer.setTimeToLive(2000).As the functionality says the message will > expire in 2 seco

Iterate over non-persistent activemq expired messages in ActiveMQ.Advisory.Expired.Queue

2016-09-21 Thread chetansistla
producer.setTimeToLive(2000).As the functionality says the message will expire in 2 seconds. I see that the expired messages are enqueued in the *ActiveMQ.Advisory.Expired.Queue* in the topic section of activeMQ admin console i.e. *http://localhost:8161/admin/topics.jsp. * My question is how do i *iterate

Automatically Discard Expired Messages has no effect

2015-04-24 Thread wangclever
Dear all: I 'm using activemq 5.8,i config Automatically Discard Expired Messages as f

Re: Expired messages specific DQL queue

2014-02-04 Thread pollotek
So, do you guys think this is possible? I'd like to have something like DLQ.expired> and DLQ.poison> or something similar. I'd really appreciate some guidance. -- View this message in context: http://activemq.2283324.n4.nabble.com/Expired-messages-specific-DQL-queue-tp4677

Expired messages specific DQL queue

2014-02-03 Thread pollotek
When a message expires it gets placed in DLQ. Is there a way to place expired messages in a different DLQ than transacted queue messages that failed to be delivered too many times? I'd like to be able to differentiate these two different causes for a message to end up in the DLQ. I'm

Re: Expired messages sent to Topic Advisory DLQ as opposed to Activemq.DLQ

2013-11-15 Thread Christian Posta
s Fargo > Cell: 704-564-5501 > > > -Original Message- > From: Christian Posta [mailto:christian.po...@gmail.com] > Sent: Friday, November 15, 2013 11:05 AM > To: users@activemq.apache.org > Subject: Re: Expired messages sent to Topic Advisory DLQ as opposed to > Activemq.DLQ

RE: Expired messages sent to Topic Advisory DLQ as opposed to Activemq.DLQ

2013-11-15 Thread barry.barnett
r 15, 2013 11:05 AM To: users@activemq.apache.org Subject: Re: Expired messages sent to Topic Advisory DLQ as opposed to Activemq.DLQ anything that flows to a topic (including advisory topics) that doesn't have any consumers will "fall off the face of the earth".. so there won'

Re: Expired messages sent to Topic Advisory DLQ as opposed to Activemq.DLQ

2013-11-15 Thread Christian Posta
can these messages be ignored? > > Regards, > > Barry Barnett > WMQ Enterprise Services & Solutions > Wells Fargo > Cell: 704-564-5501 > > > -Original Message- > From: jstordeur [mailto:jeremie.stord...@gmail.com] > Sent: Friday, November 15, 2013 5:

RE: Expired messages sent to Topic Advisory DLQ as opposed to Activemq.DLQ

2013-11-15 Thread barry.barnett
.com] Sent: Friday, November 15, 2013 5:23 AM To: users@activemq.apache.org Subject: Re: Expired messages sent to Topic Advisory DLQ as opposed to Activemq.DLQ Hello, You can see the descriptions of all available advisory topics there: http://activemq.apache.org/advisory-message.html I guess that

Re: Expired messages sent to Topic Advisory DLQ as opposed to Activemq.DLQ

2013-11-15 Thread jstordeur
not* your original expired message. My guess is that you are sending non-persistent messages. I think that by default, non-persistent expired messages are discarded rather than moved to the DLQ. Can you try sending a persistent message. Kind regards, JS -- View this message in context: http:

Re: Expired messages sent to Topic Advisory DLQ as opposed to Activemq.DLQ

2013-11-14 Thread Christian Posta
Expired messages should be moved to ActiveMQ.DLQ. Show your test case and config. On Thu, Nov 14, 2013 at 10:37 AM, wrote: > I sent a few messages with a quick expiry time on them to test out whether > they'd be written to the Activemq.DLQ default. It appears they were writte

Expired messages sent to Topic Advisory DLQ as opposed to Activemq.DLQ

2013-11-14 Thread barry.barnett
I sent a few messages with a quick expiry time on them to test out whether they'd be written to the Activemq.DLQ default. It appears they were written to the Topic Advisory DLQ and Topic Expiry queue... what are these and why wasn't it written to the Queue Activemq.DLQ? Regards, Barry Barnett

Re: Discarded messages and Expired messages.

2013-10-23 Thread Gary Tully
-- > View this message in context: > http://activemq.2283324.n4.nabble.com/Discarded-messages-and-Expired-messages-tp4673025p4673097.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://redhat.com http://blog.garytully.com

Re: Discarded messages and Expired messages.

2013-10-22 Thread Sophia Wright
com/Discarded-messages-and-Expired-messages-tp4673025p4673097.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Discarded messages and Expired messages.

2013-10-22 Thread Gary Tully
t; > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Discarded-messages-and-Expired-messages-tp4673025p4673085.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://redhat.com http://blog.garytully.com

Re: Discarded messages and Expired messages.

2013-10-21 Thread Sophia Wright
As soon as it see the destination as DLQ, it discard that message instead of sending to DLQ. So this plugin discard messages before sending to DLQ or after ? -- View this message in context: http://activemq.2283324.n4.nabble.com/Discarded-messages-and-Expired-messages-tp4673025p4673085.html

Re: Discarded messages and Expired messages.

2013-10-21 Thread Gary Tully
For non persistent topic messages there is the option to discard pending messages. For queue messages see: http://activemq.apache.org/message-redelivery-and-dlq-handling.html The default Dead letter policy will retain all persistent messages. It is possible to configure whether expired messages

Re: Discarded messages and Expired messages.

2013-10-21 Thread Sophia Wright
Waiting for someone from activeMQ dev to reply... -- View this message in context: http://activemq.2283324.n4.nabble.com/Discarded-messages-and-Expired-messages-tp4673025p4673049.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Discarded messages and Expired messages.

2013-10-21 Thread Sophia Wright
that ? Are those messages kept in DLQ for some time and then discarded ? Thanks, Sophia -- View this message in context: http://activemq.2283324.n4.nabble.com/Discarded-messages-and-Expired-messages-tp4673025.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Expired messages on a broker with redelivery seem seem to result in "ghost" messages

2013-04-05 Thread Gary Tully
the redelivery plugin was processing expired messages in error in 5.7, so they wold get redelivered to the original queue but dropped b/c the ttl was not reset. in 5.8 the fix for https://issues.apache.org/jira/browse/AMQ-4166 sorts this out such that expired messages are routed to the destination

Expired messages on a broker with redelivery seem seem to result in "ghost" messages

2013-04-04 Thread DrewB
routed to the DLQ, event though the configuration calls for expired messages to be sent there. In addition, after a short delay, the enqueue count also increases by 1. This message is not visible in the queue and cannot be retrieved by a consumer. Although the pending count indicates that a message

Problem expired messages for durable consumers in 5.6

2012-09-28 Thread Oscar Pernas
Hi all, I have several durable consumers that could be disconnected some time. I have a high traffic load, so if there are one or more durable consumers disconnected, Im running into a java heap error (no space). I'm sending messages with timeToLive property to 6 ms (sets in the message), and

Re: Monitoring of expired messages in activemq

2011-06-08 Thread Torsten Mielke
Each destination also exposes the JMX property ExpiredCount. So using jconsole you can also get these numbers. Torsten Mielke FuseSource.com tmielke.blogspot.com

Re: Monitoring of expired messages in activemq

2011-06-07 Thread Marcelo Jabali
g expired . > > Please Suggest. > Thanks > Anurag > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Monitoring-of-expired-messages-in-activemq-tp3581361p3581361.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Monitoring of expired messages in activemq

2011-06-07 Thread agujral
Hi All, I am setting expiry of messages in activemq in my deployment. How can I monitor how many messages are getting expired . Please Suggest. Thanks Anurag -- View this message in context: http://activemq.2283324.n4.nabble.com/Monitoring-of-expired-messages-in-activemq

Re: How to get notified on expired messages?

2011-04-17 Thread Blue Diamond
On Fri, Apr 15, 2011 at 11:06 PM, Blue Diamond wrote: > > Hi all, > > > > Is it possible with activemq, if I want to get notified about expired > > messages in my queue or topic? Does it also support batch mails - mail > out > > for every say 100 expired

Re: How to get notified on expired messages?

2011-04-16 Thread Bruce Snyder
On Fri, Apr 15, 2011 at 11:06 PM, Blue Diamond wrote: > Hi all, > > Is it possible with activemq, if I want to get notified about expired > messages in my queue or topic? Does it also support batch mails - mail out > for every say 100 expired messages? What level of suppor

How to get notified on expired messages?

2011-04-15 Thread Blue Diamond
Hi all, Is it possible with activemq, if I want to get notified about expired messages in my queue or topic? Does it also support batch mails - mail out for every say 100 expired messages? What level of support is present in activemq in dealing with expired messages? Are there alternative ways of

Re: NMS 1.5 client not recognizing expired messages

2011-03-15 Thread Timothy Bish
On Tue, 2011-03-15 at 14:33 -0700, TheFarmer wrote: > Client and broker are running on the same machine. > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/NMS-1-5-client-not-recognizing-expired-messages-tp3357650p3357824.html > Sent fro

Re: NMS 1.5 client not recognizing expired messages

2011-03-15 Thread TheFarmer
Client and broker are running on the same machine. -- View this message in context: http://activemq.2283324.n4.nabble.com/NMS-1-5-client-not-recognizing-expired-messages-tp3357650p3357824.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: NMS 1.5 client not recognizing expired messages

2011-03-15 Thread Timothy Bish
t; tcp:///234.11.234.101:4865 > > The same this happens when the message on the activeMQ server is deleted > using the ActiveMQ Administration web site. Even though the message is gone > on the server, the client continues to retry it. > > -- > View this message in co

NMS 1.5 client not recognizing expired messages

2011-03-15 Thread TheFarmer
Even though the message is gone on the server, the client continues to retry it. -- View this message in context: http://activemq.2283324.n4.nabble.com/NMS-1-5-client-not-recognizing-expired-messages-tp3357650p3357650.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Expired messages are not being removed from queues

2010-11-05 Thread schow
Elliot Barlas wrote: > > Hey Michael, it turns out that the activemq broker actually does not > proactively purge expired messages from queues. The broker will not send > expired messages to consumers, but if there are no consumers consuming > from the queue, expired me

AW: Pure Master/Slave Bug? Expired messages not replicated to Slave - update

2010-07-06 Thread Andreas.Weber
ssues, too - right? So I would hope to have them also fixed in next ActiveMQ release. BTW, is it correct what I wrote about a Slave having its own handling (Timer) of expired messages? Andreas > -Ursprüngliche Nachricht- > Von: Gary Tully [mailto:gary.tu...@gmail.com] > Gesendet:

Re: Pure Master/Slave Bug? Expired messages not replicated to Slave - update

2010-07-06 Thread Gary Tully
: Montag, 5. Juli 2010 09:47 > An: 'users@activemq.apache.org' > Betreff: Pure Master/Slave Bug? Expired messages not replicated to Slave > > Hi, > > I use a Pure Master/Slave configuration with ActiveMQ 5.3.2. > Master/Slave both use the same DLQ configuration wi

Pure Master/Slave Bug? Expired messages not replicated to Slave - update

2010-07-05 Thread Andreas.Weber
Update: Same problem with ActiveMQ 5.3.0, current 5.3.3- and current 5.4-SNAPSHOT. Any ideas? Andreas -Ursprüngliche Nachricht- Von: Weber, Andreas, M-ED Gesendet: Montag, 5. Juli 2010 09:47 An: 'users@activemq.apache.org' Betreff: Pure Master/Slave Bug? Expired me

Pure Master/Slave Bug? Expired messages not replicated to Slave

2010-07-05 Thread Andreas.Weber
e Slave. But there's a problem: Expired messages do go to the Master's DLQ, but this is not adapted in the Slave. I debugged in the (Slave's) Code and found the appropriate send-to-DLQ-Command/Message arriving at the MasterConnector. But in further processing this mes

Re: Topic-expired Messages are still in the Queue

2010-02-16 Thread AGT
ume messages. >> All Messages which are expired but still in the Topic . >> >> The size of queue is increasing day by day.Please let us know how we can >> configure activeMQ so that all the messages which are expired can be >> removed >> from Topic . >> >&

Re: Topic-expired Messages are still in the Queue

2010-02-15 Thread Gary Tully
is increasing day by day.Please let us know how we can > configure activeMQ so that all the messages which are expired can be > removed > from Topic . > > -- > View this message in context: > http://old.nabble.com/Topic-expired-Messages--are-still-in-the-Queue-tp27563969p275

Topic-expired Messages are still in the Queue

2010-02-12 Thread AGT
context: http://old.nabble.com/Topic-expired-Messages--are-still-in-the-Queue-tp27563969p27563969.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Automatic delete of expired messages

2009-12-16 Thread Eric-AWL
property. >>> >>> Joe >>> http://www.ttmsolutions.com >>> >>> >>> Eric-AWL wrote: >>>> >>>> Hi >>>> >>>> I don't use persistance, I don't use transaction, I don't use >>>>

Re: Automatic delete of expired messages

2009-12-16 Thread Joe Fernandez
x27;t use transaction, I don't use >>> CLIENT_ACKNOWLEDGE, only automatic aknowledge. >>> >>> I just saw in some JIRA recent exchanges that there seems to be an >>> official trick that automatically delete expired messages when there is >>> no consume

Re: Automatic delete of expired messages

2009-12-16 Thread Eric-AWL
n't use >> CLIENT_ACKNOWLEDGE, only automatic aknowledge. >> >> I just saw in some JIRA recent exchanges that there seems to be an >> official trick that automatically delete expired messages when there is >> no consumer for a queue or a topic. >> >> Can

Re: Automatic delete of expired messages

2009-12-16 Thread Joe Fernandez
Joe http://www.ttmsolutions.com Eric-AWL wrote: > > Hi > > I don't use persistance, I don't use transaction, I don't use > CLIENT_ACKNOWLEDGE, only automatic aknowledge. > > I just saw in some JIRA recent exchanges that there seems to be an > official tric

Automatic delete of expired messages

2009-12-16 Thread Eric-AWL
Hi I don't use persistance, I don't use transaction, I don't use CLIENT_ACKNOWLEDGE, only automatic aknowledge. I just saw in some JIRA recent exchanges that there seems to be an official trick that automatically delete expired messages when there is no consumer for a queue o

Re: How can we obtain automatic removal of expired messages from queues?

2009-12-10 Thread Gary Tully
at expired msgs will simply > > > disappear for good automatically (without going into a DLQ together > with > > > msgs discarded for more unexpected reasons)? > > > > Just to clarify, I think you're asking for expired messages to simply >

Re: How can we obtain automatic removal of expired messages from queues?

2009-12-10 Thread Fred Moore
r > > expiration reset to "never"). > > > > How can I set things up in a way such that expired msgs will simply > > disappear for good automatically (without going into a DLQ together with > > msgs discarded for more unexpected reasons)? > > Just to cl

Re: How can we obtain automatic removal of expired messages from queues?

2009-12-04 Thread Bruce Snyder
et things up in a way such that expired msgs will simply > disappear for good automatically (without going into a DLQ together with > msgs discarded for more unexpected reasons)? Just to clarify, I think you're asking for expired messages to simply be discarded instead of being sent t

How can we obtain automatic removal of expired messages from queues?

2009-12-04 Thread Fred Moore
Hi folks, this is probably easy but we not able to figure it out: we have producers setting msg expiration and msgs ending up in DLQ upon expiration (with their expiration reset to "never"). How can I set things up in a way such that expired msgs will simply disappear for good automatically (with

Re: Expired Messages are not getting deleted in the data directory

2009-08-13 Thread Gary Tully
re > not > getting expired(even if expiration time is reached) and it fills up the > broker's data directory. Is there any way we can forcefully remove these > expired messages after a predefined time interval? > > This issue looks to be fixed in 5.3. > http://issues.apache

Expired Messages are not getting deleted in the data directory

2009-08-13 Thread guptaviv
(even if expiration time is reached) and it fills up the broker's data directory. Is there any way we can forcefully remove these expired messages after a predefined time interval? This issue looks to be fixed in 5.3. http://issues.apache.org/activemq/browse/AMQ-1112 Is there any release date

Re: ClassCastException having relation to expired messages

2009-07-09 Thread sic
to 10 seconds) by junit test case >>> (ProducerTester class) >>> After between 10 seconds and 5 minutes(hope that message is expired >>> while >>> MessageConsumer doesn't work yet), make server shutdown abruptly so that >>> message

Re: ClassCastException having relation to expired messages

2009-07-09 Thread Gary Tully
> MessageConsumer doesn't work yet), make server shutdown abruptly so that >> messages which has been expired leaves on queue. >> restart an ActiveMQ. >> In this states, an ActiveMQ cannot be stated by ClassCastException. >> >> >> >> Gary Tully wrote: >>>

Re: ClassCastException having relation to expired messages

2009-07-09 Thread Gary Tully
gt; Trunk has a resolution to >> https://issues.apache.org/activemq/browse/AMQ-1112that provides a >> periodic message expiry task. That should help but it may be >> that there still remains some assumptions about the type of message. >> A junit test case would help lots. >

Re: ClassCastException having relation to expired messages

2009-07-09 Thread sic
sumptions about the type of message. > A junit test case would help lots. > > > > 2009/7/7 sic > >> >> While expired messages remain on queue, server cannot be re-started with >> ClassCastException until I delete persistent file(e.g. file : >> data\kr-store

Re: ClassCastException having relation to expired messages

2009-07-07 Thread Gary Tully
be that there still remains some assumptions about the type of message. A junit test case would help lots. 2009/7/7 sic > > While expired messages remain on queue, server cannot be re-started with > ClassCastException until I delete persistent file(e.g. file : > data\kr-store\dat

Re: ClassCastException having relation to expired messages

2009-07-07 Thread sic
While expired messages remain on queue, server cannot be re-started with ClassCastException until I delete persistent file(e.g. file : data\kr-store\data\hash-index-queue-data_queue#3a#2f#2fTEST.QUEUE, QueueName : TEST.QUEUE) of the queue which has expired messages Yet, this way has disadvantage

ClassCastException having relation to expired messages

2009-07-01 Thread sic
, it turns out that the activemq broker actually does not proactively purge expired messages from queues. so we set a thread that periodically cleared my queues of expired messages

Re: Expired messages are not being removed from queues

2009-03-29 Thread mcarter
workaround that was simply a thread that periodically cleared my queues of expired messages. The way it did so was to use a MessageConsumer and use a JMSSelector to consume only those messages that had expired. I don't believe the consumer itself actually ever receives any messages, but the a

Re: Expired messages are not being removed from queues

2009-03-27 Thread Elliot Barlas
Hey Michael, it turns out that the activemq broker actually does not proactively purge expired messages from queues. The broker will not send expired messages to consumers, but if there are no consumers consuming from the queue, expired messages just sit. Today I made a similar post: http

Expired messages are not being removed from queues

2009-02-11 Thread mcarter
pired messages were not being removed from the queue. I'm using active-mq-5.2 and non-persistent queues/messages. Looking at the queue's messages through jconsole showed hundreds of messages that were well past their expiry time. Does anyone know why expired messages are not removed from queue

Expired messages never disappear

2008-08-26 Thread Carlos Quiroz
nd have an expiration of about 1 day. When clients connect before the expiration they get those messages or if they have expired clients don't get those messages as expected. The downside is that expired messages apparently never leave the system. They are not sent to the client but instead the

Re: Expired messages not moved to dead letter queue.

2008-07-29 Thread RavshanKos
;" + queueName + "' queue: "); int i = 1; while (messages.hasMoreElements() == true) { Message msg = messages.nextElement(); logger.debug(i + ". " + msg); i++; } } When it brows

Re: Expired messages not moved to dead letter queue.

2008-07-25 Thread RavshanKos
mlukica wrote: > > Check: > http://issues.apache.org/activemq/browse/AMQ-1796 > I switched to 5.2-SNAPSHOT, but this didn't help. -- View this message in context: http://www.nabble.com/Expired-messages-not-moved-to-dead-letter-queue.-tp18608013p18646581.html Sent from th

Re: Expired messages not moved to dead letter queue.

2008-07-24 Thread mlukica
Check: http://issues.apache.org/activemq/browse/AMQ-1796 -- View this message in context: http://www.nabble.com/Expired-messages-not-moved-to-dead-letter-queue.-tp18608013p18627682.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Expired messages not moved to dead letter queue.

2008-07-23 Thread RavshanKos
es must be expired, it shows that attribute "QueueSize" not zero, and when I want to browse this messages thru one of "browse*" operation it show me no expired messages, all expired messages moved to its dead letter queue from this queue. How to solve this problem? -- View

RE: Expired messages

2008-05-19 Thread Steven Van Loon
Ok, thanks a lot! Will keep an eye on it. Steven. -Original Message- From: Rob Davies [mailto:[EMAIL PROTECTED] Sent: maandag 19 mei 2008 15:46 To: users@activemq.apache.org Subject: Re: Expired messages No - this one https://issues.apache.org/activemq/browse/AMQ-1112 Will get round

Re: Expired messages

2008-05-19 Thread Rob Davies
? -Original Message- From: Rob Davies [mailto:[EMAIL PROTECTED] Sent: maandag 19 mei 2008 13:39 To: users@activemq.apache.org Subject: Re: Expired messages Ah - penny drops - I see what you mean now. There's an outstanding enhancement (can't get access to jira at the moment) - to option

RE: Expired messages

2008-05-19 Thread Steven Van Loon
I assume you are referring to this one? https://issues.apache.org/activemq/browse/SM-872 Any chance for it to be implemented soon? -Original Message- From: Rob Davies [mailto:[EMAIL PROTECTED] Sent: maandag 19 mei 2008 13:39 To: users@activemq.apache.org Subject: Re: Expired messages

Re: Expired messages

2008-05-19 Thread Rob Davies
ng on the queue, the moment, another consumer is listening to the queue, the expired messages will stay on the queue. Is there anyone who has suggestions what to try next? import java.util.Properties; import javax.jms.DeliveryMode; import javax.jms.JMSException; import javax

RE: Expired messages

2008-05-19 Thread Steven Van Loon
s. No success on this one either. It works when there are no consumers at all listening on the queue, the moment, another consumer is listening to the queue, the expired messages will stay on the queue. Is there anyone who has suggestions what to try next? import java.util.Properties; i

Re: Expired messages

2008-05-15 Thread Rob Davies
will look into it! cheers, Rob http://open.iona.com/products/enterprise-activemq http://rajdavies.blogspot.com/ On 15 May 2008, at 13:04, Steven Van Loon wrote: Thanks for the reply Rob. The DLQ seems to be the queue to look for indeed, but it seems that the expired messages are not

RE: Expired messages

2008-05-15 Thread Steven Van Loon
Thanks for the reply Rob. The DLQ seems to be the queue to look for indeed, but it seems that the expired messages are not send to this queue the moment they actually expire. I have created the following test scenario: - I create a receiver for queue://ActiveMQ.DLQ and start it up - I create a

Re: Expired messages

2008-05-12 Thread Rob Davies
On 9 May 2008, at 10:35, Steven Van Loon wrote: Hi, Does anybody knows whether and how it is possible to act on expired messages? Thanks! Steven. Expired messages have taken too long to deliver to a consumer - they are sent to a dead letter queue - see http://activemq.apache.org

Expired messages

2008-05-09 Thread Steven Van Loon
Hi, Does anybody knows whether and how it is possible to act on expired messages? Thanks! Steven.

  1   2   >