ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS and MQINQ - doable?

Post new topic  Reply to topic
 JMS and MQINQ - doable? « View previous topic :: View next topic » 
Author Message
aadooley
PostPosted: Tue Aug 27, 2002 7:28 am    Post subject: JMS and MQINQ - doable? Reply with quote

Newbie

Joined: 27 Aug 2002
Posts: 6

Has anyone found out whether or not the MQINQ call can be made via JMS? Otherwise, does the getTransacted() method on the Session object actually connect to the qmgr to determine if the session is in transaction mode? We have built an app where we store our JMS sessions in a pool. We would like to find the cheapest way to monitor their MQ connections. In other words, is there some way using JMS to see if the connection is still alive without actually sending a message to a queue?
_________________
Thanx,

Alicia
Back to top
View user's profile Send private message
ram_2000
PostPosted: Wed Sep 11, 2002 1:13 am    Post subject: Reply with quote

Novice

Joined: 29 Mar 2002
Posts: 12
Location: Vancouver, Canada

we do it a little differently....we don't check before we send....We just send and if we get a JMSException (make sure its not MessageFormatException or InvalidDestinationException), we just ditch this session and try to create a new session and retry(send) one more time...

This is better because there is no unnecessary overhead before each call...and the session is recreated only if the connection goes bad..
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS and MQINQ - doable?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.