Artemis scheduler repeat

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Artemis scheduler repeat

tarikfasun
I use spring activemq/artemis.I want to schedule message period as in
activemq.

Why Artemis do not have AMQ_SCHEDULED_REPEAT property?



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
Reply | Threaded
Open this post in threaded view
|

Re: Artemis scheduler repeat

jbertram
ActiveMQ Artemis is not meant to be a complete re-implementation of the
ActiveMQ 5.x code-base with support for all the existing features. Artemis
is a completely new implementation with support for the same protocols
(i.e. OpenWire, AMQP, MQTT, STOMP) and many of the same features (or
equivalents).

Artemis supports scheduled message delivery [1], but it doesn't support
things like period, repeat, or "cron" settings like a general purpose job
scheduler would. For more advanced job scheduling functionality I'd
recommend using something like quartz [2].

At this point it doesn't make a lot of sense to me to implement advanced
job scheduling functionality into the Artemis broker. It would be a fairly
big chunk of work to do it "right" (e.g. with support for journal or
database persistence), and there are things like quartz which make it
pretty easy for applications to implement themselves. That said, an
in-memory scheduler probably wouldn't take a lot of work. If this is
something you're interested in feel free to send a pull-request. We always
welcome contributions!


Justin

[1] https://activemq.apache.org/artemis/docs/latest/scheduled-messages.html
[2] http://www.quartz-scheduler.org/

On Mon, Dec 17, 2018 at 10:22 AM tarikfasun <[hidden email]> wrote:

> I use spring activemq/artemis.I want to schedule message period as in
> activemq.
>
> Why Artemis do not have AMQ_SCHEDULED_REPEAT property?
>
>
>
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>