In Spring cloud , i would like to print logs which will tell to which queue application is connected

Excellent, thanks for the update @Monica_Gavali . Glad it worked for you!