Author |
Message
|
viki |
Posted: Tue Feb 07, 2006 2:01 am Post subject: connecting MQSeries using JMS? |
|
|
Acolyte
Joined: 07 Feb 2006 Posts: 50
|
Hi,
There is a file myFile.xyz which I want to read via JMS from a local folder and then write this file to specific port running in MQSeries machine.
For this, I wan't to make a connection between a Java class and MQSeries. How can I make this connection using JMS? And how I will be passing the file to the specific port running in MQSeries?
In short, I've to do the following task.
1: Read the file from simple Java Class "A"
2: Make connection between Class "A" and MQSeries.
3: Transfer the file from Class "A" to the specific port running in MQSeries?
I'm complete newbie in JMS and MQSeries world. But have Java programming experience.
Your help will be highly appreciated.
Thanks.
Bye,
Viki. |
|
Back to top |
|
 |
wschutz |
Posted: Tue Feb 07, 2006 3:03 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
If you follow the documentation link above, you'll find a book titled "Using Java" with a chapter called "Programming with WebSphere MQ JMS"... that would be a good place to start ....  _________________ -wayne |
|
Back to top |
|
 |
viki |
Posted: Tue Feb 07, 2006 3:15 am Post subject: |
|
|
Acolyte
Joined: 07 Feb 2006 Posts: 50
|
Hi,
Thanks for your reply. I'm following that link. Could you please help me in setting up my environment? Like right now MQSeries is installed in one machine. Now, I want to do all the java programming stuff on my notebook and to establish connection with MQ from my notebook. For this, I must be needing cross-cable and NIC on both machines.
It will be great if you please guide me in setting up my initial environment. Like which programs I need to installed on my machine and other libraries.
This is quite critical for me as of now. Therefore, kindly help!!
Thanks a lot in advance.
Bye,
Viki. |
|
Back to top |
|
 |
BenR |
Posted: Tue Feb 07, 2006 5:13 am Post subject: |
|
|
Acolyte
Joined: 31 Jan 2006 Posts: 60 Location: Hursley, UK
|
Have a look at Chapter 2 of Using Java. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Feb 07, 2006 5:51 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It's a little audacious to ask for help with your physical networking setup, but I'll suggest that you spend your money on a very cheap switch or hub, rather than messing around with crossover cables. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
viki |
Posted: Tue Feb 07, 2006 8:03 am Post subject: |
|
|
Acolyte
Joined: 07 Feb 2006 Posts: 50
|
Hi,
Thanks for the suggestion. Now I've installed WebSphere MQ V5.3 in my laptop. Therefore, no need for crossover or switch.
Also installed WebSphere MQ Information Center.
Bye,
Viki. |
|
Back to top |
|
 |
viki |
Posted: Tue Feb 07, 2006 10:09 am Post subject: |
|
|
Acolyte
Joined: 07 Feb 2006 Posts: 50
|
Hi,
It seems that I need "M88 Package" for making connection b/w standalone java class and MQ Series? I just found this link but it is NOT for WIN XP. Then I found this ftp link for M88 Pacakage for windows, but it is not working.
Any help in this regard will be highly appreciated!!
Bye,
Viki. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Feb 07, 2006 10:10 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
No. Not MA88.
You need to install the Java feature using the Custom option during installation (or after), rather than Typical or Compact. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
viki |
Posted: Tue Feb 07, 2006 10:14 am Post subject: |
|
|
Acolyte
Joined: 07 Feb 2006 Posts: 50
|
Hi,
I already used CUSTOM and selected JMS as well. Now what to do? Kindly guide initially so that at least i can kick-off with this basic connection stuff.
Thanks,
Bye,
Viki. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Feb 07, 2006 10:41 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Feb 07, 2006 2:11 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
|
Back to top |
|
 |
|