|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to view existing JNDI connections associated with a QM |
« View previous topic :: View next topic » |
Author |
Message
|
Bichu |
Posted: Tue Jul 19, 2016 8:17 am Post subject: How to view existing JNDI connections associated with a QM |
|
|
Centurion
Joined: 16 Oct 2011 Posts: 124 Location: London
|
Hi Guys,
How can we view the existing JNDI connections associated with a QM. I have made a connection to a Remote Queue Manager via MQ Explorer, but I couldn't see any JNDI connections. Apart from making JNDI connections, is it possible to look for the existing via MQ Explorer. If not, how can view them.
Also, is JNDI mandatory for a java application to put messages to IBM MQ and using JMS transport.
I have gone through the whitepapers provided in the IBM developerworks and was able to understand the concepts. But still, I think I am lost somewhere.
Many thanks in advance! |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jul 19, 2016 8:25 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
JNDI is not mandatory to create a JMS connection to a queue manager. It is just the most commonly used way as it is the most generic one.
When using JNDI the properties of the connection factory are set up in the JNDI and the object retrieved is ready for use.
You can look at the samples if you want to set the properties on the connection factory yourself.
There is no difference between a "JNDI" connection and a regular JMS connection from the server (qmgr) side. So unless you know the application and the channel it uses there is no way to distinguish...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
tczielke |
Posted: Tue Jul 19, 2016 9:21 am Post subject: |
|
|
Guardian
Joined: 08 Jul 2010 Posts: 941 Location: Illinois, USA
|
Another thing you could look for are channels that have an RPRODUCT of MQJM or MQJN. Those would be JMS connections. _________________ Working with MQ since 2010. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jul 19, 2016 10:14 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
tczielke wrote: |
Another thing you could look for are channels that have an RPRODUCT of MQJM or MQJN. Those would be JMS connections. |
This may well work for the client connections, how about "bindings" i.e. server connections?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
tczielke |
Posted: Tue Jul 19, 2016 10:37 am Post subject: |
|
|
Guardian
Joined: 08 Jul 2010 Posts: 941 Location: Illinois, USA
|
Correct, the RPRODUCT only is a DIS CHSTATUS feature, so only works for client connections. It would have been a nice feature to also include RPRODUCT and RVERSION for bindings/local connections. _________________ Working with MQ since 2010. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|