SingleThreadedRequestor creates a temporary Queue on which to receive response messages.
Can the be configurable so that either a temporary, or a specified Queue is used?
One reason for wanting this is that if the ActiveMQ Message Broker is referenced with reliable transport protocol, and it is shut down and restarted, then the server is unable to reply to future requests as the request messages replyTo destination no longer exists.
I'm not sure if this is an ActiveMQ bug or not, but I think it would be useful to be able to specify a reply queue to use instead of using a temporary queue.
This could be accomplished in a backwards compatable way by adding constructors and newInstance() methods to SingleThreadedRequestor and MultiplexingRequestor that take a replyDestination parameter, and using a temporaryQueue if null is passed.
To see it in action, see the ExampleWithInboundQueueTest with the Spring config org/logicblaze/lingo/example/spring-with-inbound-queue.xml