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 Installation/Configuration Support » WMQ 5.x and WebSphere 5.x JMS/MQ and client mode transport

Post new topic  Reply to topic
 WMQ 5.x and WebSphere 5.x JMS/MQ and client mode transport « View previous topic :: View next topic » 
Author Message
mdc
PostPosted: Tue Apr 08, 2008 12:37 pm    Post subject: WMQ 5.x and WebSphere 5.x JMS/MQ and client mode transport Reply with quote

Novice

Joined: 08 Apr 2008
Posts: 12

I have a mix of applications, some of which are standalone Java applications that use MQ 5.x and also a J2EE app on WebSphere 5.x that use the embedded JMS provider.

I would to make the Java applications and WebSphere 5.x JMS/MQ Provider use the client mode of transport instead of the bindings mode when passing MQ messages between them. Eventually I will move the apps on to different systems and requires sockets to communicate.

I noticed that you can call setter methods on the JMS/MQ connection factories to turn on client mode of transport; however, I am looking for a way to set client transport mode as a default for all applications at an administrative configuration level, without having to modify application source.

How is that accomplished and any tips and pointers on how to do it quickly?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Apr 08, 2008 12:40 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

MQ v5.x is out of support.

Be warned - switching from server to client connections can prevent the application from using an XA Connection, and thus break the transactional needs of the application.

Thirdly, if your client apps are properly written to use JNDI to look up QCF and TCF objects, then you can just adjust those administratively and not have to have any code.

If your client apps are NOT written to use JNDI to look these objects up, then you should change them to do THAT, rather than to manually change the transport properties in the code.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mdc
PostPosted: Tue Apr 08, 2008 3:08 pm    Post subject: Reply with quote

Novice

Joined: 08 Apr 2008
Posts: 12

>if your client apps are properly written to use JNDI to look up QCF and TCF >objects, then you can just adjust those administratively and not have to >have any code.

Is this just a case of writing the QCF into JNDI with the client mode set? What IBM documentation describes this. I am familiar with JNDI lookups of the factory, but not the parameterization of the its properties to set client mode transport.

The point about 5.x is taken and IBM is addressing through their hosting services.
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 Installation/Configuration Support » WMQ 5.x and WebSphere 5.x JMS/MQ and client mode transport
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.