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 Java / JMS » Failover and Load Balance

Post new topic  Reply to topic
 Failover and Load Balance « View previous topic :: View next topic » 
Author Message
gurusridhar
PostPosted: Tue Dec 02, 2003 7:52 pm    Post subject: Failover and Load Balance Reply with quote

Newbie

Joined: 19 Nov 2003
Posts: 9
Location: Singapore

Hi,
I couldnt able to resolve. I want to do Load Balancing in MQ using java.
Is anybody done previously, this kind.

Appreciate help in this regard

Thanks
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
vmcgloin
PostPosted: Wed Dec 03, 2003 1:35 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

As far as I know there is nothing specific in the Java API with regard to load-balancing. Refer to the MQ Clients and Qmgr Clusters manuals for ideas about how to achieve these things in your infrastructure.

Regards,
Vicky
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Dec 03, 2003 3:25 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

We just run a "pool" of Java threads which all "compete" for incoming messages on the same queue using MQGET with WAIT.

It's really nothing to do with the MQI or JMS APIs as such.

Where there is more than one outstanding MQGET and a message arrives, MQSeries will pass that message to one of them, presumably the one that has been waiting longest.
Back to top
View user's profile Send private message
vmcgloin
PostPosted: Wed Dec 03, 2003 3:28 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

Of course you are right. I was thinking of the Java code being client rather than server - sorry.
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 Java / JMS » Failover and Load Balance
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.