KAPIL GUPTA 2 Posted November 19, 2019 Share Posted November 19, 2019 I am using the queue and create a receiver and after reading the queue close the receiver but sill I have multiple receivers in the Gems tool and all data are not reading from the queue correctly. How I can restrict one receiver only for a queue but why it's not by default as the queue is supposed to be one receiver only Please help with this. Thanks. I am using .NET Tibco EMS API in order to connect the queue, create a receiver, read the queue and close the receiver. How I can check if there is an open receiver on the queue and if it's not there then only create the receiver. var queue = session.CreateQueue(queuename); var receiver = session.CreateReceiver(queue); var message = receiver.Receive(); receiver.Close(); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now