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 » WebSphere Message Broker (ACE) Support » CMP API Execiser and Broker Domain Connection is not Constan

Post new topic  Reply to topic
 CMP API Execiser and Broker Domain Connection is not Constan « View previous topic :: View next topic » 
Author Message
aditya.aggarwal
PostPosted: Fri Dec 04, 2009 2:27 am    Post subject: CMP API Execiser and Broker Domain Connection is not Constan Reply with quote

Master

Joined: 13 Jan 2009
Posts: 252

Hi,

We are using the CMP API Execiser GUI to build, administer the Broker domain.

Whenever we close the CMP API Exerciser we need to connect with Broker Domain again by supplying the Config Manager parameter.

Is there any way to keep the Cofigmanager connection in CMP API execiser constant?

Do we need to made any change is the code of CMP API exerciser GUI?

Cheers,
Aditya
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Dec 04, 2009 2:47 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

If mean by 'Close' you quit the application then yes what you are seeing is correct.

You could be smart and write your own Java app that used the CMP API that would have the ability to automatically open a connection at startup using information read from something like a properties file.

Remember that in V7, there is no Config Manager so you ideally would need to have a list of brokers with a preferred one for auto open.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
aditya.aggarwal
PostPosted: Fri Dec 04, 2009 2:57 am    Post subject: Reply with quote

Master

Joined: 13 Jan 2009
Posts: 252

Thanks....


I knew that in V7 there will be no config manager.... but i am not able to find any documentation on how to create and handle a broker domain in V7...



Regards,
Aditya
Back to top
View user's profile Send private message
mqmatt
PostPosted: Fri Dec 04, 2009 3:25 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

There is no 'domain' concept in v7; you simply connect to each broker directly. (The MB Toolkit/Explorer can automatically connect to each broker for you when you start).

For the API Exerciser, if you wanted to automatically connect to a broker (or CM in v6.x) on startup, you can modify the sample to do this:
At the end of the CMPAPIExerciser.go() method, call either classTesterBroker.testConnectToLocalBroker() or classTesterBroker.testConnectToRemoteBroker()
(or in v6.x classTesterCMP.testConnect()).
Back to top
View user's profile Send private message
aditya.aggarwal
PostPosted: Fri Dec 04, 2009 3:33 am    Post subject: Reply with quote

Master

Joined: 13 Jan 2009
Posts: 252

Thanks mqmatt... I will try to implement this with V7Broker...
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Jul 10, 2012 12:11 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Does the CMP API exerciser get installed with the Broker Toolkit or runtime?

I want to install this for someone who does not need the full toolkit - what's the easiest way to do this?
Back to top
View user's profile Send private message
mgk
PostPosted: Tue Jul 10, 2012 12:43 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

The CMP API Excerciser comes with the runtime.

Kind regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
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 » WebSphere Message Broker (ACE) Support » CMP API Execiser and Broker Domain Connection is not Constan
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.