• Post Reply Bookmark Topic Watch Topic
  • New Topic

calling connection close in onMessage

pankaj eklar
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am trying to integrate two applications using IBM MQ topic. From source a message will be put on the topic. And on the consumer end I have a weblogic pointing to a foreign jms topic.

Application on the consumer end opens a connection to get a particular message, processes the message in its onMessage method and then closes the connection.

I case of Weblogic there is one configuration parameter available on the cosole for creation of connection factory called 'Allow Close In On Message'. This prevents any threads from blocking.

Is there any such cofiguration for IBM MQ topic connection factory before I can call close from onMessage()?

Let me know if any clarification is required.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!