I have an application that reads a message from an AMQP server processing the message and then writing ta message back to the AMQP server.
The challenge I have is that when terminating the application I can not stop listening to incoming messages, process the one that just read, and then write them to the server. If I do not do this there is a risk that the application will close while a message is processed and hence will be lost.
The disconnect function closes both the sender and receiver.
Is there a possibility to only close the receiver?
If not possible now, can it be added?
If not should I create two Amqp10 clients and use one for the receiver and one for the sender or is there a better solution?
Hi,
I have an application that reads a message from an AMQP server processing the message and then writing ta message back to the AMQP server.
The challenge I have is that when terminating the application I can not stop listening to incoming messages, process the one that just read, and then write them to the server. If I do not do this there is a risk that the application will close while a message is processed and hence will be lost.
The disconnect function closes both the sender and receiver.
/Morgan