Skip to content
Visit booth 3171 at Google Cloud Next to see how to unlock real-time decisions at scaleMore info

Configure delivery of messages

The delivery-mode section of the /etc/aerospike-jms-outbound/aerospike-jms-outbound.yml specifies how the messages are delivered to the JMS message broker.

There are two modes supported.

  • persistent The default delivery mode, instructs JMS to take extra care to ensure that a message is not lost in transit in case of a JMS failure. A message sent with this delivery mode is logged to stable storage when it is sent.
  • non-persistent Does not require JMS to store the message or otherwise guarantee that it is not lost if there are JMS failures.

In most cases persistent delivery mode is slower than non-persistent delivery mode.

Examples

For persistent delivery mode:

delivery-mode: persistent

For non-persistent delivery mode:

delivery-mode: non-persistent
Feedback

Was this page helpful?

What type of feedback are you giving?

What would you like us to know?

+Capture screenshot

Can we reach out to you?