Greetings,
I wrote this question on stackoverflow (
link), but I will repeat it here.
I am writing application that uses STOMP for communication. Server side is written using Spring Boot 2.1.7 and as external broker RabbitMQ 3.7.1 is used. On client side, I am using StompJS.
When client subscribes to user destination, e.g. /user/queue/some-queue, Spring will map it to /queue/some-queue-user{sessionID}and RabbitMQ creates queue with name some-queue-user{sessionID}. That part is correct and works as expected.
On subscription I added header
{'auto-delete': true}, as specified here in
RabbitMQ Stomp Docs, and that created auto delete queue in RabbitMQ, which I can verify using manager plugin.
When I try to send something on that queue I receive error
PRECONDITION_FAILED - inequivalent arg 'auto_delete' for queue 'some-queue-...
Am I doing something wrong here or did I misunderstood documentation for queue?
I created sample project that illustrates this issue (
link).
Thank you very much.
Best regards,
Boris Tuponja