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 » Can the message broker manage invoke a failover connection?

Post new topic  Reply to topic
 Can the message broker manage invoke a failover connection? « View previous topic :: View next topic » 
Author Message
borats_lovechild
PostPosted: Tue Sep 04, 2007 9:21 am    Post subject: Can the message broker manage invoke a failover connection? Reply with quote

Newbie

Joined: 15 May 2007
Posts: 3
Location: Harmondsworth

We have an application receiving messages from Websphere MQ via JMS (provided by Apache ActiveMQ). We wish to implement the application in Weblogic cluster across different physical machines.

Ideally we'd like one copy of the app to be the prime recipient of messages, and in the case of failover for the second machine to pick up the connection to the queue.

Is it possible for this connection scenario to be controlled from the Websphere message broker? ie it establishes a connection to the prime server, if this fails it then connects to the backup. It's more normal for the connection to come from the client but we have no way of knowing the state of the 'buddy' app.

Any searches I've done just lead me to discussions on clustering the Websphere queues, when what I'm looking for is really the exact opposite of this model..
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Sep 04, 2007 10:24 am    Post subject: Reply with quote

Grand High Poobah

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

Have mutliple instances/machines (Weblogic) connect to the same qmgr/queues. It will be a first come/first serve basis and all instances will potentially process messages. Message affinity is definitely out in this scenario....

Have fun...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Tue Sep 04, 2007 10:45 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I'm not sure that this is really a WebSphere MQ Java/JMS question.

It's either a question about the JMS nodes in Message Broker, or it's a question about the capabilities of the ActiveMQ JMS provider... if I understand the question?

You have Message Broker acting as a bridge between WebSphere MQ and ActiveMQ, right? Where Broker is receiving messages over WebSphere MQ, and sending them (using the JMS nodes) to the ActiveMQ in WebLogic?

And you want the JMS nodes in Broker to always connect to a particular WebLogic machine, but if that machine is down, then connect to a different WebLogic machine?

Is that right?

If so, it's really not up to Broker - it's up to the capabilities of the ActiveMQ provider to allow this or not allow this.

Or you can put two different JMS nodes in your flow - one that points to the primary server, and one that points to the secondary server. Then if the primary server node throws an error, you can catch that and send the message to the secondary server.
_________________
I am *not* the model of the modern major general.
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 » Can the message broker manage invoke a failover connection?
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.