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 » JMS with CCDT on MQ v7

Post new topic  Reply to topic
 JMS with CCDT on MQ v7 « View previous topic :: View next topic » 
Author Message
mchan
PostPosted: Mon Dec 19, 2011 12:44 am    Post subject: JMS with CCDT on MQ v7 Reply with quote

Apprentice

Joined: 09 Sep 2011
Posts: 29

Using JMS and MQ7, once connection is routed by CCDT, if we created multiple JMS sessions from the JMS connection, is there any way to guarantee that the JMS sessions all connected to the same QM originally dispatched by the CCDT?
We tested this but found that the JMS session created from the JMS connection (connected via CCDT) actually connects to different QMs in the QM group....this is not our desired behavior. We only want the CCDT to decide the first QM via the JMS connection object. Any JMS session object spawn from the JMS connection should point to the same QM.

Appreciate your help!!!
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Dec 19, 2011 5:50 am    Post subject: Re: JMS with CCDT on MQ v7 Reply with quote

Grand High Poobah

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

mchan wrote:
Using JMS and MQ7, once connection is routed by CCDT, if we created multiple JMS sessions from the JMS connection, is there any way to guarantee that the JMS sessions all connected to the same QM originally dispatched by the CCDT?
We tested this but found that the JMS session created from the JMS connection (connected via CCDT) actually connects to different QMs in the QM group....this is not our desired behavior. We only want the CCDT to decide the first QM via the JMS connection object. Any JMS session object spawn from the JMS connection should point to the same QM.

Appreciate your help!!!

Working as designed. Read up on the V7 client manual and the way the CCDT table works in V7 . You can control the behavior through some parms, but if you used the defaults it is working as designed.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mchan
PostPosted: Mon Dec 19, 2011 5:24 pm    Post subject: Reply with quote

Apprentice

Joined: 09 Sep 2011
Posts: 29

Do you mean AFFINITY=PREFERRED?
The problem is that it stick to the same QM from the QM Group per machine basis, not on JVM basis....
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Dec 19, 2011 10:32 pm    Post subject: Reply with quote

Grand High Poobah

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

And I mean define JMS Session as extensively as possible.
Make sure there is no possible confusion with MDB Session...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS with CCDT on MQ v7
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.