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 IndexGeneral IBM MQ SupportMQ design choice - Client or Server installation

Post new topicReply to topic
MQ design choice - Client or Server installation View previous topic :: View next topic
Author Message
lani
PostPosted: Tue Jul 17, 2018 10:56 pm Post subject: MQ design choice - Client or Server installation Reply with quote

Newbie

Joined: 17 Jul 2018
Posts: 2

Hi

I have been asked to design a new MQ solution for a Java based application (running on a Java server) that send messages to MQ Gateway queue manager.Communication is bidirectional but most of the time messages will be sent from Java app to Gateway server.I'm thinking to install MQ client on Java Server .I have two questions

The Java Server is not a websphere/Jboss/Weblogic or any sort of thing ,its a vendor product bundled in a Java environment

1) Is MQ client right choice in this situation? MQ gateway servers are clustered ,if I go with MQ client ,will I be able to configure my Java server to more than one MQ Gateway Queue Manager? How?

2) I'm going to suggest to developers to use IBM MQ class for JMS to connect to Gateway queue manager(rationale - application is Java based) ,is there any reason not to use JMS class and go for MQI for development? Does one provide benefit over the other interms of connecting to clustered gateway queue manager?

Any inputs appreciated

Thanks
L
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 18, 2018 5:41 am Post subject: Re: MQ design choice - Client or Server installation Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25118
Location: Ohio, USA

lani wrote:
1) Is MQ client right choice in this situation?


If you don't plan to install and maintain a queue manager on this Java server (with all the costs and overhead entailed) then the client is your only option.

lani wrote:
MQ gateway servers are clustered


Define "clustered". Seriously. Do you mean a single MQ queue manager on an HA cluster? Multiple MQ queue managers each on their own HA cluster? Multiple queue managers in an MQ cluster? "Cluster" is an overloaded term.

lani wrote:
if I go with MQ client ,will I be able to configure my Java server to more than one MQ Gateway Queue Manager?


Yes.

lani wrote:
How?


The same way you'd do it if the application was using the MQ server code, but with less MQ-side configuration.

lani wrote:
2) I'm going to suggest to developers to use IBM MQ class for JMS to connect to Gateway queue manager(rationale - application is Java based) ,is there any reason not to use JMS class and go for MQI for development?


No.

lani wrote:
Does one provide benefit over the other in terms of connecting to clustered gateway queue manager?


No, because there's very little difference between a clustered queue manager and an unclustered one, depending on what you mean by "clustered"
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lani
PostPosted: Wed Jul 18, 2018 3:55 pm Post subject: Reply with quote

Newbie

Joined: 17 Jul 2018
Posts: 2

Vitor wrote:
The same way you'd do it if the application was using the MQ server code, but with less MQ-side configuration.


Sorry Can you please explain bit more
My question was around ,what are the options we have , connecting to QM from mq client. I understand 1) CCDT 2) exporting environment variable in linux 3)?

As the requirement is to connect to more than one QM from client,are we left with only using CCDT?.

In your reply you mentioned about using MQ server code are you referring to using custom written J2EE code?

I would like to know "recommended"(if possible) way of connecting from mq client to multiple Queue Managers

Thanks
L
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jul 18, 2018 6:15 pm Post subject: Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19728
Location: LI,NY

lani wrote:
Vitor wrote:
The same way you'd do it if the application was using the MQ server code, but with less MQ-side configuration.


Sorry Can you please explain bit more
My question was around ,what are the options we have , connecting to QM from mq client. I understand 1) CCDT 2) exporting environment variable in linux 3)?

As the requirement is to connect to more than one QM from client,are we left with only using CCDT?.

In your reply you mentioned about using MQ server code are you referring to using custom written J2EE code?

I would like to know "recommended"(if possible) way of connecting from mq client to multiple Queue Managers

Thanks
L


The way to do that is to use the hashtable variant for instantiating the connection factory.
Or setting the properties of the connectionFactory as you build them...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu Jul 19, 2018 4:55 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25118
Location: Ohio, USA

fjb_saper wrote:
lani wrote:
Vitor wrote:
The same way you'd do it if the application was using the MQ server code, but with less MQ-side configuration.


Sorry Can you please explain bit more
My question was around ,what are the options we have , connecting to QM from mq client. I understand 1) CCDT 2) exporting environment variable in linux 3)?

As the requirement is to connect to more than one QM from client,are we left with only using CCDT?.

In your reply you mentioned about using MQ server code are you referring to using custom written J2EE code?

I would like to know "recommended"(if possible) way of connecting from mq client to multiple Queue Managers

Thanks
L


The way to do that is to use the hashtable variant for instantiating the connection factory.
Or setting the properties of the connectionFactory as you build them...


What he said.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
belchman
PostPosted: Thu Aug 02, 2018 10:19 am Post subject: Reply with quote

Partisan

Joined: 31 Mar 2006
Posts: 317
Location: Ohio, USA


_________________
Make three correct guesses consecutively and you will establish a reputation as an expert. ~ Laurence J. Peter
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 IndexGeneral IBM MQ SupportMQ design choice - Client or Server installation
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.