Re: Scheduled messages & thread deadlock

2020-07-22 Thread Clebert Suconic
ll the logs and config files and submit as a bug? > Here's a quick overview of the configuration: > > Artemis servers: Two running v2.11.0 in symmetric cluster mode (tried > running it in standalone mode during the issue, it didn't help) > JVM: OpenJDK v11 - J9 VM > Glo

Scheduled messages & thread deadlock

2020-07-22 Thread Aaron Dutenhoefer
quick overview of the configuration: Artemis servers: Two running v2.11.0 in symmetric cluster mode (tried running it in standalone mode during the issue, it didn't help) JVM: OpenJDK v11 - J9 VM Global-Max-Size: 104857600 Xms/XmX: 512M/2G Platform: Windows Message size: < 1K/message Scheduled

Scheduled Messages and Paging

2020-07-21 Thread Wayne Robinson
Hi It seems that only one ScheduledDeliveryRunnable is created per timestamp and then a RefScheduled added to that runnable for each scheduled message. However, is there any guidance available on how Artemis handles paging of scheduled messages? Are these moved in and out of the runnables as

Re: Artemis - Cannot get scheduled messages to work with AMQP and Topic

2017-10-18 Thread Matthias Hanisch
Ok. I misinterpreted the explanations in "Protocols and Interoperability / AMQP scheduling message delivery". By the way: the section "Scheduled Messages" suggests using property _AMQ_SCHED_DELIVERY which has no effect at all. At least not with AMQP. Thanks for clarification

Re: Artemis - Cannot get scheduled messages to work with AMQP and Topic

2017-10-18 Thread Timothy Bish
On 10/18/2017 11:09 AM, Matthias Hanisch wrote: This seems to be a qpid problem. I debugged through the code and my delivery time above gets overwritten. Currently you can only set it using producer.setDeliveryDelay(6); And then scheduled messages work. So sorry for the noise

Re: Artemis - Cannot get scheduled messages to work with AMQP and Topic

2017-10-18 Thread Matthias Hanisch
This seems to be a qpid problem. I debugged through the code and my delivery time above gets overwritten. Currently you can only set it using producer.setDeliveryDelay(6); And then scheduled messages work. So sorry for the noise. 2017-10-18 15:49 GMT+02:00 Matthias Hanisch

Artemis - Cannot get scheduled messages to work with AMQP and Topic

2017-10-18 Thread Matthias Hanisch
Hi, I would like to send a message deferred on a topic (multicast address), but my problems is that the listener immediately receives the message. The producer is build based on qpid-jms-client 0.25. I have tried to set JMSDeliveryTime and/or _AMQ_SCHED_DELIVERY messsage property in the following

Re: How to use persistenceAdapter for persistent Scheduled Messages ?

2015-08-03 Thread Oleg
if you need it. db-*.logs in scheduler directory are starting cutdown according to the value specified into Thank you very much, Christopher ! -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-use-persistenceAdapter-for-persistent-Scheduled-Messages-tp4699805p4700

Re: How to use persistenceAdapter for persistent Scheduled Messages ?

2015-07-27 Thread Oleg
stent-Scheduled-Messages-tp4699805p4699929.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: How to use persistenceAdapter for persistent Scheduled Messages ?

2015-07-25 Thread Christopher Shannon
1:57 db-34.log > -rw-rw-r-- 1 idr idr 1.1M Jul 24 21:57 db-35.log > -rw-rw-r-- 1 idr idr 948K Jul 24 21:57 db-36.log > -rw-rw-r-- 1 idr idr 2.4M Jul 24 21:57 db.data > -rw-rw-r-- 1 idr idr 137K Jul 24 21:57 db.redo > -rw-rw-r-- 1 idr idr0 Jul 24 21:53 lock > > But it doesn'

How to use persistenceAdapter for persistent Scheduled Messages ?

2015-07-25 Thread Oleg
w-r-- 1 idr idr 948K Jul 24 21:57 db-36.log -rw-rw-r-- 1 idr idr 2.4M Jul 24 21:57 db.data -rw-rw-r-- 1 idr idr 137K Jul 24 21:57 db.redo -rw-rw-r-- 1 idr idr0 Jul 24 21:53 lock But it doesn't work for scheduled db-*.log ... So, my questions: 1) Do scheduled messages use at all or

Re: scheduled messages

2015-04-21 Thread Timothy Bish
On 04/21/2015 07:37 AM, salma ali wrote: > the non Persistent messages are saved where , and if i use > jdbcPersistenceAdapter , this messages are not saved in tables , the tables > are empty ? > > > > -- > View this message in context: > http://activemq.2283324.n4.na

Re: scheduled messages

2015-04-21 Thread salma ali
the non Persistent messages are saved where , and if i use jdbcPersistenceAdapter , this messages are not saved in tables , the tables are empty ? -- View this message in context: http://activemq.2283324.n4.nabble.com/scheduled-messages-tp4695290p4695349.html Sent from the ActiveMQ - User

Re: scheduled messages

2015-04-20 Thread Timothy Bish
On 04/20/2015 02:13 PM, salma ali wrote: > Where scheduled messages are saved by default in AMQ , in memory or > kahaDB > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/scheduled-messages-tp4695290.html > Sent from the ActiveMQ - U

scheduled messages

2015-04-20 Thread salma ali
Where scheduled messages are saved by default in AMQ , in memory or kahaDB -- View this message in context: http://activemq.2283324.n4.nabble.com/scheduled-messages-tp4695290.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Are Scheduled Messages persistent ?

2015-03-12 Thread Kevin Burton
One heads up. Only KahaDB is supported. LevelDB doesn’t work with scheduled messages (last I checked and would be cool to be proven wrong). On Thu, Mar 12, 2015 at 8:08 AM, cdelgadob wrote: > Great answer! thanks a lot! > > > > -- > View this message in context: > http:

Re: Are Scheduled Messages persistent ?

2015-03-12 Thread cdelgadob
Great answer! thanks a lot! -- View this message in context: http://activemq.2283324.n4.nabble.com/Are-Scheduled-Messages-persistent-tp4665977p4693078.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ETA for fixing scheduled messages for LevelDB?

2014-12-27 Thread Kevin Burton
gt; On 19 November 2014 at 17:35, Kevin Burton wrote: > > Right now scheduled messages only use KahaDb… not LevelDB… so even if you > > setup your instance for LevelDB the store is created as KahaDB. > > > > That means that if your box crashes, and it’s promoted to another mach

Re: ETA for fixing scheduled messages for LevelDB?

2014-12-18 Thread Gary Tully
is there a jira for this. If not. please raise one so it gets on the radar On 19 November 2014 at 17:35, Kevin Burton wrote: > Right now scheduled messages only use KahaDb… not LevelDB… so even if you > setup your instance for LevelDB the store is created as KahaDB. > > That means

Re: Are Scheduled Messages persistent ?

2014-11-25 Thread Timothy Bish
On 11/25/2014 09:15 AM, cdelgadob wrote: Hi all, Simple question: Are scheduled messages persistent regardless of the persistent configuration of the broker? I mean: I don't need to persist my inflight messages, but the scheduled ones, just in case the broker goes down. How can I achieve

Re: Are Scheduled Messages persistent ?

2014-11-25 Thread cdelgadob
Hi all, Simple question: Are scheduled messages persistent regardless of the persistent configuration of the broker? I mean: I don't need to persist my inflight messages, but the scheduled ones, just in case the broker goes down. How can I achieve that? Thanks! Carlos -- View this me

ETA for fixing scheduled messages for LevelDB?

2014-11-19 Thread Kevin Burton
Right now scheduled messages only use KahaDb… not LevelDB… so even if you setup your instance for LevelDB the store is created as KahaDB. That means that if your box crashes, and it’s promoted to another machine via ZK, then you lose all your scheduled messages. Apparently it doesn’t look like

Re: How to make scheduled messages highly available?

2014-09-04 Thread Claus Ibsen
machines) >> crashes. >> >> To do this, we are already able to create a JDBC-based or a filesystem-based >> high-availability store, so that our queue is always kept in the air by the >> two brokers. However, that is not what we want, we want the >> high-availab

Re: How to make scheduled messages highly available?

2014-09-03 Thread Matt Pavlovich
his, we are already able to create a JDBC-based or a filesystem-based > high-availability store, so that our queue is always kept in the air by the > two brokers. However, that is not what we want, we want the high-availability > as well for all scheduled messages. We rely heavily on

How to make scheduled messages highly available?

2014-09-03 Thread Willem van Doesburg
filesystem-based high-availability store, so that our queue is always kept in the air by the two brokers. However, that is not what we want, we want the high-availability as well for all scheduled messages. We rely heavily on scheduled messages for quite some functionalities (sending e-mail, doing

Re: replicated leveldb and scheduled messages…is it being worked on?

2014-07-30 Thread Kevin Burton
Ah… nice. I'll take a look at it. I was thinking about it this morning and this is probably more complicated than it initially seems. Logically it's somewhat straight forward, but there are a lot of steps involved. Lots of moving parts. So what I will probably do is try to get this code in produ

Re: replicated leveldb and scheduled messages…is it being worked on?

2014-07-29 Thread Timothy Bish
On 07/29/2014 09:06 PM, Kevin Burton wrote: Just looking at it now… I think what might be interesting is writing a JobSchedulerStore without persistence and just using java.util.concurrent collections interfaces… Just to prove that the semantics work and as a template for future versions. Then

Re: replicated leveldb and scheduled messages…is it being worked on?

2014-07-29 Thread Kevin Burton
Just looking at it now… I think what might be interesting is writing a JobSchedulerStore without persistence and just using java.util.concurrent collections interfaces… Just to prove that the semantics work and as a template for future versions. Then use that to get the LevelDB version to work.

Re: replicated leveldb and scheduled messages…is it being worked on?

2014-07-29 Thread Timothy Bish
On 07/29/2014 08:30 PM, Kevin Burton wrote: OK… I assume the current one is based on KahaDB? Yes On Tue, Jul 29, 2014 at 4:42 PM, Timothy Bish wrote: On 07/29/2014 07:19 PM, Kevin Burton wrote: So currently, the big caveat for leveldb replication is that replicating the schedule db doe

Re: replicated leveldb and scheduled messages…is it being worked on?

2014-07-29 Thread Kevin Burton
OK… I assume the current one is based on KahaDB? On Tue, Jul 29, 2014 at 4:42 PM, Timothy Bish wrote: > On 07/29/2014 07:19 PM, Kevin Burton wrote: > >> So currently, the big caveat for leveldb replication is that replicating >> the schedule db doesn't work… >> >> How complicated is it going to

Re: replicated leveldb and scheduled messages…is it being worked on?

2014-07-29 Thread Timothy Bish
On 07/29/2014 07:19 PM, Kevin Burton wrote: So currently, the big caveat for leveldb replication is that replicating the schedule db doesn't work… How complicated is it going to be to get this to work with leveldb? Is anyone actively working on this? I kind of painted myself into a corner on t

replicated leveldb and scheduled messages…is it being worked on?

2014-07-29 Thread Kevin Burton
So currently, the big caveat for leveldb replication is that replicating the schedule db doesn't work… How complicated is it going to be to get this to work with leveldb? Is anyone actively working on this? I kind of painted myself into a corner on this one. ActiveMQ does literally 95% of what

Re: Are scheduled messages visible in queue browsers?

2014-07-17 Thread Timothy Bish
On 07/17/2014 03:36 PM, Kevin Burton wrote: If I create a queue browser, on a queue with scheduled messages, say 1-2 hours in the future, will they be browsable? Kevin No, scheduled messages are stored on disk and loaded back into memory for dispatch when their scheduled time arrives, they do

Are scheduled messages visible in queue browsers?

2014-07-17 Thread Kevin Burton
If I create a queue browser, on a queue with scheduled messages, say 1-2 hours in the future, will they be browsable? Kevin -- Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com … or check out my Google+ profile <https://plus.google.

ActiveMQ master-slave and scheduled messages

2014-03-14 Thread N B
Hi all, Can anyone acknowledge that scheduled messages are also in the master-slave setup? I more or less successfully have created master-slave by jdbc, but the scheduled messages do not appear in the database. This makes the master-slave useless to us for now, this setup should make a 100

Re: Are Scheduled Messages persistent ?

2013-10-24 Thread Joy
Was there any resolution? > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://activemq.2283324.n4.nabble.com/Are-Scheduled-Messages-persistent-tp4665977p4673163.html > To unsubscribe from Are Schedule

Re: Are Scheduled Messages persistent ?

2013-10-23 Thread eschor...@sendmail.com
I am having this same problem myself. Was there any resolution? -- View this message in context: http://activemq.2283324.n4.nabble.com/Are-Scheduled-Messages-persistent-tp4665977p4673163.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Are Scheduled Messages persistent ?

2013-04-17 Thread Joy
Hi I am using activemq 5.8 libraries . So when I restart the broker , why are not the scheduled messages getting enqueued after a restart . I am attaching restart logs if it helps . I can see this before restart 2013-04-17 01:10:35,225 [70.34:1747@9006] DEBUG JobSchedulerImpl - Scheduling

Re: Are Scheduled Messages persistent ?

2013-04-17 Thread Christian Posta
ever get posted after > broker restart . > > My broker is using jdbcPersistenceAdapter . Am I missing something here ? > > Thanks > Joy > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Are-Scheduled-Messages-persistent-tp46659

Are Scheduled Messages persistent ?

2013-04-17 Thread Joy
reason , the messages are lost and they never get posted after broker restart . My broker is using jdbcPersistenceAdapter . Am I missing something here ? Thanks Joy -- View this message in context: http://activemq.2283324.n4.nabble.com/Are-Scheduled-Messages-persistent-tp4665977.html Sent from

Re: Unable to remove scheduled messages

2013-03-27 Thread Bratislav Stojanovic
ded network connector in his activemq.xml like this : > > > > > > Here's the problem : > > On the Broker1 side, I dynamically add connector to the Broker2, schedule > a message using > CRON and send it. Message starts to send every minute and I'm getting the > messa

Re: How to delete scheduled messages ?

2012-03-24 Thread Timothy Bish
at this article http://timbish.blogspot.com/2010/10/enhanced-jms-scheduler-in-activemq.html > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/How-to-delete-scheduled-messages-tp2550858p4501120.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com

Re: How to delete scheduled messages ?

2012-03-24 Thread liny
Hi, Does ACTIVEMQ can support scheduled message deletion now or any future plan? Or Can you tell me how to use java code to do this via JMX? any solutions will be appreciated. Thanks. -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-delete-scheduled-messages

Re: Scheduled messages don't use jdbcPersistenceAdapter

2011-03-08 Thread Dejan Bosanac
k="false"/> > > > > > > > Is it possible to have scheduled messages persisted to the JDBC store? > > Thanks, > Steve >

Scheduled messages don't use jdbcPersistenceAdapter

2011-03-07 Thread Steve Smith
: Is it possible to have scheduled messages persisted to the JDBC store? Thanks, Steve

Re: scheduled messages over STOMP

2010-12-21 Thread Dejan Bosanac
Yes it is. Take a look at https://issues.apache.org/jira/browse/AMQ-2646 Still need better docs though/ Cheers -- Dejan Bosanac - FuseSource - The experts in open source integration and messaging. Email: dej...@fusesource.com Web: http://fusesource.com Twitter:  http://twitter.com

scheduled messages over STOMP

2010-12-20 Thread Aleksandar Ivanisevic
http://activemq.apache.org/delay-and-schedule-message-delivery.html is this available over STOMP?

Re: Multiple Scheduled Messages Not Firing

2010-10-25 Thread Dejan Bosanac
:50 PM, tb0ne wrote: > > Forgot to mention I'm using ActiveMQ 5.4.1.  Tried with both Win2k8 and > Ubuntu Lucid. > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Multiple-Scheduled-Messages-Not-Firing-tp3004226p3004236.html > Sent from the Ac

Re: Multiple Scheduled Messages Not Firing

2010-10-20 Thread tb0ne
Forgot to mention I'm using ActiveMQ 5.4.1. Tried with both Win2k8 and Ubuntu Lucid. -- View this message in context: http://activemq.2283324.n4.nabble.com/Multiple-Scheduled-Messages-Not-Firing-tp3004226p3004236.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Multiple Scheduled Messages Not Firing

2010-10-20 Thread tb0ne
I ran into a scenario where I have multiple Scheduled Messages with a cron string set to fire every minute that are created at different times. However, only one is firing every minute (cycles 0 to 9). Is this as intended? Here is some sample code to that generates the same behavior

Re: Message selectors and scheduled messages ?

2010-09-23 Thread Norman Maurer
+1, I would love this feature too :) Bye, Norman 2010/9/23 Thomas Dudziak : > The problem is that this only works if the message is due, so to > speak. For systems where you have more than a few scheduled messages, > you'll need something like a queue browser (which can actually s

Re: Message selectors and scheduled messages ?

2010-09-23 Thread Thomas Dudziak
The problem is that this only works if the message is due, so to speak. For systems where you have more than a few scheduled messages, you'll need something like a queue browser (which can actually see the whole queue, e.g. AMQ-2172) that allows you to select and delete messages by me

Re: Message selectors and scheduled messages ?

2010-09-23 Thread Dejan Bosanac
Hi Tom, note that scheduled messages are kept by the broker in a specialized store, and will be sent to the queue/topic only when time comes. These send messages have "scheduledJobId" property set, which you can use to select them. Cheers -- Dejan Bosanac - http://twitter.com/dejanb O

Re: How to delete scheduled messages ?

2010-09-23 Thread Dejan Bosanac
Blog - http://www.nighttale.net On Wed, Sep 22, 2010 at 8:34 PM, Thomas Dudziak wrote: > I was wondering, how can delayed and scheduled messages be deleted ? I > didn't see anything obvious in the activemq implementations for > Session/Queue/MessageConsumer and friends. > I know

Message selectors and scheduled messages ?

2010-09-22 Thread Thomas Dudziak
Hi, is there a way to select delayed/scheduled messages with a selector, e.g. for custom properties ? cheers, Tom

How to delete scheduled messages ?

2010-09-22 Thread Thomas Dudziak
I was wondering, how can delayed and scheduled messages be deleted ? I didn't see anything obvious in the activemq implementations for Session/Queue/MessageConsumer and friends. I know that there is a way to do this via JMX (QueueView mbean), but I was hoping there is an easier way to do