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 » connecting MQSeries using JMS?

Post new topic  Reply to topic
 connecting MQSeries using JMS? « View previous topic :: View next topic » 
Author Message
viki
PostPosted: Tue Feb 07, 2006 2:01 am    Post subject: connecting MQSeries using JMS? Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Tue Feb 07, 2006 3:03 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
viki
PostPosted: Tue Feb 07, 2006 3:15 am    Post subject: Reply with quote

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
View user's profile Send private message
BenR
PostPosted: Tue Feb 07, 2006 5:13 am    Post subject: Reply with quote

Acolyte

Joined: 31 Jan 2006
Posts: 60
Location: Hursley, UK

Have a look at Chapter 2 of Using Java.
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Tue Feb 07, 2006 5:51 am    Post subject: Reply with quote

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
View user's profile Send private message
viki
PostPosted: Tue Feb 07, 2006 8:03 am    Post subject: Reply with quote

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
View user's profile Send private message
viki
PostPosted: Tue Feb 07, 2006 10:09 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Tue Feb 07, 2006 10:10 am    Post subject: Reply with quote

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
View user's profile Send private message
viki
PostPosted: Tue Feb 07, 2006 10:14 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Tue Feb 07, 2006 10:41 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/csq770x.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Feb 07, 2006 2:11 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

And http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzaw.doc/jms770x.htm

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » connecting MQSeries using JMS?
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.