I have a basic setup where a consumer is listening to a "/queue/work" for items. The consumer is meant to only consume one item at a time.
to do so i NACK any other item received concurrently and also UNSUBSCRIBE from the queue while the item is getting processed.
if i now SUBSCRIBE to the same queue again, the NACKed messages are not redelivered to the client - unless i drop the whole connection and reconnect the session - which is not exactly what i want to do since it impacts other subscriptions too :(
is there another way to implement this "take one item - ignore while busy" pattern ?