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 Queues, Queue Managers and Channels using Java API?

Post new topic  Reply to topic
 Creating Queues, Queue Managers and Channels using Java API? « View previous topic :: View next topic » 
Author Message
jadaaih
PostPosted: Fri Sep 12, 2008 1:42 am    Post subject: Creating Queues, Queue Managers and Channels using Java API? Reply with quote

Apprentice

Joined: 10 Sep 2008
Posts: 25

Hi folks,

Back again with some more questions...Is there any way I could create a queue manager, queue and channels using Java API programmatically?

Or its purely going to be command based/explorer based??

Thanks,
Jade
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Fri Sep 12, 2008 2:40 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

QueueManager would be hard to do using the MQ Java API as it needs to be there before you can connect to it

To Create Queues and Channels you need the proper authority and lookup on PCF commands (there is an extensive manual about it)
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jadaaih
PostPosted: Fri Sep 12, 2008 3:31 am    Post subject: Reply with quote

Apprentice

Joined: 10 Sep 2008
Posts: 25

Hi Michael,

Thanks for the reply, I have found the PCF command(if I am not wrong) to create queue from following URL,

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqzag.doc/fa11570_.htm

However, how do I issue them to the queue manager? Any specific classes or methods to be checked for this?

TIA,
Jade
Back to top
View user's profile Send private message
JLRowe
PostPosted: Fri Sep 12, 2008 3:32 am    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

There is a support pack that provides some abstraction over the PCF messages, I think it is called MQ admin support classes or something like that. It helps you build and parse PCF messages.

The only way to create a queue manager is from the command line.

It's a real shame that there is more extensive support for MQ admin on the windows platform with the powershell scripting than there is for java which could be run across all platforms - oh well..
Back to top
View user's profile Send private message Send e-mail
meetgaurav
PostPosted: Fri Sep 12, 2008 3:43 am    Post subject: Reply with quote

Voyager

Joined: 08 Sep 2008
Posts: 94

Hope this will Help you OUT !!!!!!!

https://www-304.ibm.com/jct09002c/isv/tech/sample_code/mq/StartProcessJMS.java


Parent Link

https://www-304.ibm.com/jct09002c/isv/tech/sampmq.html
Back to top
View user's profile Send private message
bower5932
PostPosted: Fri Sep 12, 2008 5:41 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

The java supportpac for pcf's is MS0B.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Creating Queues, Queue Managers and Channels using Java API?
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.