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 » How can I map my TCF object to QMgr?

Post new topic  Reply to topic
 How can I map my TCF object to QMgr? « View previous topic :: View next topic » 
Author Message
kun.leeing
PostPosted: Sun Nov 09, 2008 9:49 am    Post subject: How can I map my TCF object to QMgr? Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

I run the Sample app 'JMSPubSub' after creating PubSub.TCF and PubSub.T.
But I got an error of no setting queue.

So I think it should be the reason that I dont map any MQ Queue and MQ QMgr to the object of PubSub.TCF.

Could anybody instruct me how to map Jms object to MQ object?
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Sun Nov 09, 2008 2:51 pm    Post subject: Reply with quote

Grand High Poobah

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

Check out the links at the top of the page (Library, info center) and read up on pub/sub, check pub/sub and using java manuals A lot will be explained there. Come back with more detailed questions.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kun.leeing
PostPosted: Sun Nov 09, 2008 6:12 pm    Post subject: Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

I've read manual and known a little more about pub/sub.
I use MQ V 6.0 and just use commands ' DEF QCF myQCF' and 'DEF Q(myQueue) QUEUE(Q1) ' to create connectionFactory and destination.
But I still dont know how can I link my CTF to a QMgr object and my destination to a LQueue .

The QMgr and LQueue already created in my MQ server.

'Cause no entity mapping to myQCF and myQueue, I got error 'com.ibm.msg.client.jms.DetailedInvalidDestinationException:'
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Mon Nov 10, 2008 2:29 pm    Post subject: Reply with quote

Grand High Poobah

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

OK so you did the first step by doing
DEF QCF myQCF

After this do
DIS QCF(myQCF) [all]

This will show you the attributes you need to define to get your qcf working.
For a TCF you can do the same
def TCF myTCF
dis TCF(myTCF) [all]

Again you will see all the attributes you are missing.

Look up those commands in the using java manual

Have fun
_________________
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 » How can I map my TCF object to QMgr?
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.