You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to WildFly
Hello all,
We are using Wildfly 26. We use embedded ActiveMQ Artemis heavily to
address MDBs in our system. We have a system startup phase that could
result in the system going into some form of "maintenance" mode in which
system admins need to perform some manual tasks before the system can
resume "normal" processing and users can be serviced.
During this maintenance mode some parts of the system are unavailable or
need to be configured before they can operate correctly . Therefore we
would like to prevent the delivery of JMS messages to MDBs untill our
system decides it can proceed to normal operation mode,
What would be good approaches to achieve this?
We are thinking of having our MDBs annotated with @DeliveryActive(false)
and then call startDelivery() on them later down the road. But I am
wondering how ActiveMQ will react to this. We do not want it to fail the
JMS messages but simply want to delay their delivery.
Any ideas?
Emmanuel Hugonnet
unread,
Nov 4, 2025, 8:30:23 AMNov 4
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Silvio Bierman, WildFly
You can pause topics and queues and resume them. Thus all messages sent to the destination will be received but not delivered. When it is
resumed, delivering will occur again.
Maybe that could help with your use cae.
Cheers,
Emmanuel