OpenTAKServer icon indicating copy to clipboard operation
OpenTAKServer copied to clipboard

Add TTL to messages published to RabbitMQ

Open brian7704 opened this issue 10 months ago • 0 comments

Also add OTS_RABBITMQ_TTL option.

channel.basic_publish(
    exchange='',
    routing_key='hello_world',
    properties=pika.BasicProperties(
        expiration='60000',
    ),
    body='my message'
)

brian7704 avatar Apr 16 '24 00:04 brian7704