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 IndexIBM MQ Java / JMSHow to view existing JNDI connections associated with a QM

Post new topicReply to topic
How to view existing JNDI connections associated with a QM View previous topic :: View next topic
Author Message
Bichu
PostPosted: Tue Jul 19, 2016 8:17 am Post subject: How to view existing JNDI connections associated with a QM Reply with quote

Centurion

Joined: 16 Oct 2011
Posts: 108
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
View user's profile Send private message
fjb_saper
PostPosted: Tue Jul 19, 2016 8:25 am Post subject: Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19246
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
View user's profile Send private message Send e-mail
tczielke
PostPosted: Tue Jul 19, 2016 9:21 am Post subject: Reply with quote

Yatiri

Joined: 08 Jul 2010
Posts: 638
Location: Illinois, USA

Another thing you could look for are channels that have an RPRODUCT of MQJM or MQJN. Those would be JMS connections.
_________________
MQ administrator since 2010.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jul 19, 2016 10:14 am Post subject: Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19246
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
View user's profile Send private message Send e-mail
tczielke
PostPosted: Tue Jul 19, 2016 10:37 am Post subject: Reply with quote

Yatiri

Joined: 08 Jul 2010
Posts: 638
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.
_________________
MQ administrator since 2010.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ Java / JMSHow to view existing JNDI connections associated with a QM
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.