How can i implement message listeners(clients) using pure MQ Java API.
I have non-JMS MQ queue and want to have class as listener
to this queue with selector functionality.
I know how to do it for JMS Queue.
Can somebody help me out to implement this.
Use something like this,
assumptions -> You have already created a QueueConnection object and got a QueueSession object from it.
variables ->
QueueSession qsession;
QueueConnectionFactory qcf;
qname - the queue name from which you receive messages
targetClient is the property that specifies if the MQServer is JMS or Non JMSCompilant. Value of 1 means non jms and 0 is jms compilant.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum