How do you handle back-pressure in JMS with Spring Boot?
Control message flow in JMS and Spring Boot with bounded listeners, consumer window limits, safe acknowledgement, broker full policies and pausing consumers.
Spread Your Knowledge. Questions with answers, tutorials and articles, newest first.
Control message flow in JMS and Spring Boot with bounded listeners, consumer window limits, safe acknowledgement, broker full policies and pausing consumers.
Spring Cloud Stream has no official JMS binder. This guide shows how to use Spring JMS, Spring Integration or functional bindings in Spring Boot 3.
Convert objects to and from JMS messages in Spring Boot with a Jackson MessageConverter, safe type id mappings and a custom converter. Avoid Java serialization.
Combine persistent messages, transacted listeners, a dead-letter queue and reconnecting clients to get reliable at-least-once JMS messaging in Spring Boot.
Configure ActiveMQ redelivery with back-off, make the listener transacted, route failures to a per-queue dead-letter queue and replay them safely.
Learn how JMS acknowledgment modes work in Spring Boot, how to configure them, and how to avoid lost or endlessly redelivered messages.
Send and receive on queues and topics with JmsTemplate and @JmsListener, configure pub-sub and durable subscriptions, and use JSON message conversion.
Set up JMS in Spring Boot 3 with the Artemis starter, send JSON with JmsTemplate and receive with @JmsListener, including converters and concurrency tuning.
Set up JMS in Spring Boot with ActiveMQ: starter, broker config, JmsTemplate producers, JmsListener consumers, JSON payloads and error handling.
Combine JMS selectors, ActiveMQ virtual topics, composite destinations and a code-level router to control where messages go in a Spring Boot application.
Quorum queues are a RabbitMQ feature. In ActiveMQ you get durability from Artemis replication with quorum voting or shared-storage failover.
ActiveMQ delivers at least once, so duplicates will happen. Learn how to make a Spring Boot JMS listener idempotent with a unique-key table and transactions.
Set message TTL on the producer with JmsTemplate explicit QoS or a producer callback, then control expired messages on the ActiveMQ broker.
ActiveMQ memory and flow control are set on the broker. Learn systemUsage limits, producer flow control, send timeouts, pooling and monitoring.
Header exchanges are a RabbitMQ idea. In ActiveMQ you get the same result with message properties and JMS selectors on Spring Boot listeners.
Set JMS priority on the producer and enable prioritizedMessages on the ActiveMQ queue so urgent messages are delivered first.
See how JMS transactions work in Spring Boot with ActiveMQ: transacted listeners, atomic sends, redelivery policy, and why a database needs the outbox pattern.
Shovels are a RabbitMQ plugin. In ActiveMQ you move messages between brokers with network connectors, Artemis bridges or a transacted Spring Boot relay.
Federate ActiveMQ brokers across regions with a networkConnector bridge, then let Spring Boot apps use their local broker. Includes security and tuning options.
Enable the ActiveMQ scheduler and set AMQ_SCHEDULED_DELAY on a JmsTemplate message to deliver it later, with repeat, cron and troubleshooting tips.