Author |
Message
|
vdetez |
Posted: Fri Jun 29, 2007 6:26 am Post subject: PCF Api + java standalone client |
|
|
Newbie
Joined: 29 Jun 2007 Posts: 3
|
Dear,
I am new in MQ technologie. I would like to create my own java standalone client in order to handle my queues and other objet.
I would like to know if the PCF api allows to do it easily? if it's the right techno to create a standalone client? and where I can find some PCF java code examples?
I really thank you
Val |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 29, 2007 6:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
There's a PCF class for Java that you can use.
Samples come with a server install, there are others on the IBM web site.
I'd question why you'd want to build a client to handle queues and other objects, i.e. what functionality would it give you over the MQ Explorer or other administration/control/monitoring technologies available?
But it depends on your requirements of course. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
vdetez |
Posted: Fri Jun 29, 2007 6:39 am Post subject: |
|
|
Newbie
Joined: 29 Jun 2007 Posts: 3
|
Thks for your quick response.
I would like to create my own message (header + body) in order to enjoy a little bit with the MQ environment. Example simulation of massive message sending, stop channel in cluster and check results.
I think that's more easy to batch with code other than use MQ explorer.
Could you have your point of you about it?
Do examples come from with 5.3 also?
Do you know tools for monitor queues?
thks for your help, dear
Val |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 29, 2007 6:43 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
vdetez wrote: |
I would like to create my own message (header + body) in order to enjoy a little bit with the MQ environment. Example simulation of massive message sending, stop channel in cluster and check results.
I think that's more easy to batch with code other than use MQ explorer. |
Indeed, but that doesn't involve the use of PCF. At all. Except the stop channel, and again I believe that a new client is overkill. But if you want to dive headfirst into MQ & produce a fully automated loading tool for your enjoyment then go for it.
I wouldn't. I'd load some queues up & stop the channel manually.
vdetez wrote: |
Do examples come from with 5.3 also? |
Yes.
vdetez wrote: |
Do you know tools for monitor queues? |
You'll find the major ones discussed in the Monitoring & Tools section of this board. These discussions will also help you form an opinion as to their usefulness in your situation.
Note that MQ comes with monitoring facilities out of the box, described in detail in the "Monitoring MQ" manual.
vdetez wrote: |
thks for your help, dear |
You're welcome, love
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jbanoop |
Posted: Fri Jun 29, 2007 8:40 am Post subject: |
|
|
Chevalier
Joined: 17 Sep 2005 Posts: 401 Location: SC
|
not the most traditional approach at learning MQ i must venture to say. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 29, 2007 10:44 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jbanoop wrote: |
not the most traditional approach at learning MQ i must venture to say. |
It's certainly a fairly agressive strategy, but you must give credit to the ambition. A change from the "I have a queue manager, how do I put a message?" newbie question. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jun 29, 2007 10:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Vitor wrote: |
jbanoop wrote: |
not the most traditional approach at learning MQ i must venture to say. |
It's certainly a fairly agressive strategy, but you must give credit to the ambition. A change from the "I have a queue manager, how do I put a message?" newbie question. |
And for the sake of different programing techniques he has the choice between a java base and JMS program...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
vdetez |
Posted: Mon Jul 02, 2007 2:02 am Post subject: |
|
|
Newbie
Joined: 29 Jun 2007 Posts: 3
|
So What approach do I follow to learn MQ?
just go to MQ explorer, using interface to create and handle object, and use a tool to produce message? is it no too simple, too basic to learn MQ?
What tool can I use to check what I have in the Header of message?
thks a lot
Valery |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Mon Jul 02, 2007 2:13 am Post subject: |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 02, 2007 3:03 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
vdetez wrote: |
just go to MQ explorer, using interface to create and handle object, and use a tool to produce message? is it no too simple, too basic to learn MQ? |
The software is straightforward. Like a database is straightforward. Using both well/properly/professionally is the trick.
For manipulating objects (and viewing the headers), loading queues and so forth MQExplorer and the support pacs are your best bet.
Use a Java client to explore the programming aspects, which are again straightforward but hard to use well. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|