Author |
Message
|
jonesm5 |
Posted: Mon Oct 27, 2008 10:24 am Post subject: Resources/examples needed please!!! |
|
|
Newbie
Joined: 27 Oct 2008 Posts: 1
|
Hi,
I'm testing how sMash (new IBM product) functions with WMQ and need some help in doing so. I'm able to create a remote sMash based app to send/produce messages to destination queue "Q1" on WMQ. Now I'm having trouble learning how to create an external JMS app that consumes a message from WMQ. I was hoping you can point me to some useful resources which demonstrates a simple app which does this. I have a queue manager named "QM_Manager", a queue named "Q1", connectionFactory named "myQCF", and destination "myQ" which queue is linked to "Q1". I'm able to send a message to "Q1" but using a different platform (sMash/Groovy). I've been reading some articles and observed folk used many .bat/.spc files which really doesn't show any code. Also, I'm confused on do I need WMQ client as well in order for JMS app to communicate w/ WMQ?. Either way I need some help. I'm tyring to make this task as simple as possible in trying to create an app just to consume messages from a queue. Would you happen to have some example code or resources which demonstrates connecting to WMQ & consuming a message from queue on WMQ? Thanks! |
|
Back to top |
|
 |
bower5932 |
Posted: Mon Oct 27, 2008 11:59 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Oct 27, 2008 2:54 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
And I suggest as a newbie you use the filebased JNDI if you need to use JNDI for a standalone app. It's the easiest to setup and the sturdiest...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Oct 27, 2008 5:11 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
|
Back to top |
|
 |
David.Partridge |
Posted: Tue Oct 28, 2008 12:13 am Post subject: |
|
|
 Master
Joined: 28 Jun 2001 Posts: 249
|
What a Jedi Knight scared by JMS!?
Out of curiousity Peter, what is it specifically about JMS that gives you the cold colly-wobbles? _________________ Cheers,
David C. Partridge |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Oct 28, 2008 7:08 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Conceptually I am ok with it. Its not just JMS but Java in general I guess. You can have 99.9% of everything set up right, and then one stupid comma is missing in the classpath or one mystery jar file is missing and you are dead in the water. Add the multiple Java versions installed on the typical system and there's even more fun. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
masteringmq |
Posted: Thu Oct 30, 2008 12:49 am Post subject: |
|
|
Master
Joined: 20 Oct 2008 Posts: 200
|
Keep trying. Maybe a couple of days, years or so you will see results. Never try never know. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Oct 30, 2008 2:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
PeterPotkay wrote: |
Conceptually I am ok with it. Its not just JMS but Java in general I guess. You can have 99.9% of everything set up right, and then one stupid comma is missing in the classpath or one mystery jar file is missing and you are dead in the water. Add the multiple Java versions installed on the typical system and there's even more fun. |
If you ever start a support group for fellow phoblics sign me up. I suffer from similar symptoms. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|