Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

INQUIRE from weblogic.jms.POoledConnectionFactory

 
Magesh kasthuri
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In weblogic deployment, I have my MQ profile defined which creates weblogic.jms.PooledConnectionFactory. I want to Inquire to get some queue statistics like Current depth and max depth. If I have MQQueueConnectionFactory/MQQueueManager, I can do this with MQQueue INQUIRE but I am not able to find a solution for this from PooledConnectionFactory.

Is there a way to convert PooledConnectionFactory to MQQueueManager/MQQueueConnectionFactory or is there any other way to INQUIRE from PooledConnectionFactory. PLease suggest?
 
Roger Sterling
Ranch Hand
Posts: 426
Eclipse IDE Fedora Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please don't double post. CarefullyChooseOneForum

The answer to your question is no. You need to use MQ api for this.
 
Magesh kasthuri
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roger Sterling wrote:Please don't double post. CarefullyChooseOneForum

The answer to your question is no. You need to use MQ api for this.


Can you please give some samples for using MQ API with PooledConnectionFactory object?
 
Roger Sterling
Ranch Hand
Posts: 426
Eclipse IDE Fedora Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I said before, you cannot get there from PooledConnectionFactory .

Which queue manager are you using ? WebSphere MQ or ActiveMQ ?

MQQueueConnectionFactory is a WebSphere MQ interface.

 
Magesh kasthuri
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roger Sterling wrote:As I said before, you cannot get there from PooledConnectionFactory .

Which queue manager are you using ? WebSphere MQ or ActiveMQ ?

MQQueueConnectionFactory is a WebSphere MQ interface.



Am using WebSphere MQ.
 
Roger Sterling
Ranch Hand
Posts: 426
Eclipse IDE Fedora Linux
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic