wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes INQUIRE from weblogic.jms.POoledConnectionFactory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "INQUIRE from weblogic.jms.POoledConnectionFactory" Watch "INQUIRE from weblogic.jms.POoledConnectionFactory" New topic
Author

INQUIRE from weblogic.jms.POoledConnectionFactory

Magesh kasthuri
Greenhorn

Joined: Apr 07, 2014
Posts: 4
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

Joined: Apr 06, 2012
Posts: 426

Please don't double post. CarefullyChooseOneForum

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

Joined: Apr 07, 2014
Posts: 4
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

Joined: Apr 06, 2012
Posts: 426

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

Joined: Apr 07, 2014
Posts: 4
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

Joined: Apr 06, 2012
Posts: 426

Here is the link to the MQ API documentation : http://pic.dhe.ibm.com/infocenter/rbdhelp/v8r0m0/index.jsp?topic=%2Fcom.ibm.egl.pg.doc%2Ftopics%2Fpegl_mq_api_tsk.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: INQUIRE from weblogic.jms.POoledConnectionFactory
 
Similar Threads
I developed a Java program to delete Message Queues using WAS7 ,but getting MQ EXCEPTION: 2035
IBM MQ 'remote put' problem
IBM MQ :: getting MQQueueConnection object
INQUIRE from weblogic.jms.POoledConnectionFactory
MQ - Server Bindings