Open robin-aws opened 4 years ago
@robin-aws We are having trouble using spring JMS library with Amazon temporary queues. Currently our application using session.createTemporaryqueue(). Can you please suggest, how we can get this method work in our application?
I don't see any support in https://github.com/awslabs/amazon-sqs-java-temporary-queues-client, to create consumer & producer using the JMS.
SQS now provides a client that implement temporary queues much more efficiently than naively creating a new SQS queue for each call. It should be easy to use that client to implement the
SQSSession.createTemporaryQueue()
method. This would help folks that want to use higher-level libraries like Spring or Camel to implement request/response patterns on top of JMS, and therefore not be locked into the SQS API.The only wrinkle is how to take an optional dependency on https://github.com/awslabs/amazon-sqs-java-temporary-queues-client, since we can't break clients by adding it as a direct dependency.