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 » Creating MQ QUEUES

Post new topic  Reply to topic
 Creating MQ QUEUES « View previous topic :: View next topic » 
Author Message
meetgaurav
PostPosted: Sun Nov 09, 2008 8:14 pm    Post subject: Creating MQ QUEUES Reply with quote

Voyager

Joined: 08 Sep 2008
Posts: 94

Am just creating the Queues and Q mgr here.. Any parameter were missing here ?? or For performance tuning whether I need configure anything else??...Please assit me, am going to submit the code to client..I need to confirm these things

crtmqm JAVA.SATYAM
strmqm JAVA.SATYAM

runmqsc JAVA.SATYAM

DEFINE QLOCAL(SATYAM.QUEUE.A)

DEFINE QLOCAL(SATYAM.QUEUE.B)

DEFINE QLOCAL(SATYAM.QUEUE.C)

DEFINE CHANNEL(CHANNEL1) CHLTYPE(SVRCONN)
end


what is the use of => runmqlsr -m JAVA.SATYAM-t tcp -p 8888
Back to top
View user's profile Send private message
atheek
PostPosted: Sun Nov 09, 2008 9:22 pm    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

Looks like your app needs to read or send messages only to local queues and you dont need to trigger your app. If so these should be fine.

For better security configure mcauser for your channel definition.

mcauser wrote:
what is the use of => runmqlsr -m JAVA.SATYAM-t tcp -p 8888


runmqlsr is the listener for your queue manager. If you need your app to connect to the qmgr using the channel you defined, you should ensure that the listener is running and the app is configured correctly to point to that port. For MQ v6x or above its better to define listener as qmgr objects ( see for runmqsc/Define Listener) rather than run it separately using runmqlsr
Back to top
View user's profile Send private message
meetgaurav
PostPosted: Sun Nov 09, 2008 11:04 pm    Post subject: Reply with quote

Voyager

Joined: 08 Sep 2008
Posts: 94

HI atheek,

Thanks for the reply. I just read few documents and created the Queues and liestener. could you please review this one.

crtmqm MQSI60_SAMPLEQM
strmqm MQSI60_SAMPLEQM
runmqsc MQSI60_SAMPLEQM
"DEFINE LISTENER(MQSI60.LISTENER) TRPTYPE(TCP) PORT(1885) CONTROL(QMGR)"
"START LISTENER(MQSI60.LISTENER)"
"DEFINE QLOCAL(QUEUE_A)"
"DEFINE QLOCAL(QUEUE_B)"
"DEFINE CHANNEL(CHANNEL1) CHLTYPE(SVRCONN)"
end


what is the difference B/W
runmqlsr -m JAVA.SATYAM-t tcp -p 8888
and
DEFINE LISTENER(MQSI60.LISTENER) TRPTYPE(TCP) PORT(1885) CONTROL(QMGR)"
"START LISTENER(MQSI60.LISTENER)"
Please assist me..

Whether the MQSI60.LISTENER is a constant rite ??

Thanks
Back to top
View user's profile Send private message
atheek
PostPosted: Mon Nov 10, 2008 1:19 am    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

With runmqlsr you need to explictly start the listener by typing the command..With a listener object with control(QMGR), the listener is totally under qmgr control and qmgr starts/stops the listener when it starts/stops..

As I said before, its better to set MCAUSER for the channel. It provides a way to authorise access to the qmgr using that channel.


Last edited by atheek on Mon Nov 10, 2008 1:22 am; edited 1 time in total
Back to top
View user's profile Send private message
atheek
PostPosted: Mon Nov 10, 2008 1:20 am    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

meetgaurav wrote:
Whether the MQSI60.LISTENER is a constant rite ??


No..You can give any name for a listener
Back to top
View user's profile Send private message
meetgaurav
PostPosted: Mon Nov 10, 2008 1:29 am    Post subject: Reply with quote

Voyager

Joined: 08 Sep 2008
Posts: 94

Got it, Many Thanks to Atheek....
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 » Creating MQ QUEUES
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.