Scenario: I have a java client thread running that opens a connection to a queue manager and a queue. This thread is in a continuous loop where it times out after a wait interval while listening for a ...
Use something like this,
assumptions -> You have already created a QueueConnection object and got a QueueSession object from it.
variables ->
QueueSession qsession;
QueueConnectionFactory ...