Open johndevs opened 2 years ago
I think you can use fifo queues by just setting the right message headers. Something like this should work:
@JMSProducer(CONNECTION_FACTORY_BEAN_NAME)
interface TestProducer {
@Queue("my-queue-name.fifo")
fun send(
@MessageBody message: String,
@MessageHeader("JMSXGroupID") messageGroupId: String,
@MessageHeader("JMS_SQS_DeduplicationId") messageDeduplicationId: String
)
}
@johndevs can you confirm whether the provided solution works for your use case?
@elliottpope I am also facing the same issue, I have tried the solution given by @marcmarcet but it is not working.
Expected Behavior
I expect the examples in the documentation to work with Amazon SQS Fifo queues
Actual Behaviour
When sending a message the following exception is thrown:
Steps To Reproduce
No response
Environment Information
No response
Example Application
No response
Version
3.1.1