-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Through the code it is possible to add additional queue arguments by the spring properties mapping.
spring.rabbitmq.queues[0].arguments[x-message-ttl]=100000
But an exception occurs:
Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - invalid arg 'x-message-ttl' for queue 'com.avides.abct' in vhost '/': {unacceptable_type,longstr}, class-id=50, method-id=10)
It looks like the spring properties mapping map this property as a String. Therefore this additional queue argument should be handled like the x-max-length (if the 'x-message-ttl' argument is used).
giorgimode
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers