How to keep message listener up and running to asynchronously keep receiving messages

Hi @rgundra, the FlowReceiver is an aynschronous, callback based object, so there’s actually nothing going on in main. If you don’t give main something to do, it will just complete and your application will terminate. Have you looked in the SolaceSamples Github repo? You can see the various approaches the samples take to this.