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 » General Discussion » Very Basic Java/MQ example

Post new topic  Reply to topic
 Very Basic Java/MQ example « View previous topic :: View next topic » 
Author Message
sebastian
PostPosted: Mon Jan 12, 2004 5:11 am    Post subject: Very Basic Java/MQ example Reply with quote

Centurion

Joined: 12 Nov 2003
Posts: 110
Location: Philadelphia

I was going to try to code a very basic java application that would do a connect, open, get, display the get contents and close. Any simple coding examples would be appreciated.

I would like to code this on windows. I have the MQclient installed and the java SDK. Is there anything else required for a java development environment?

All help is appreciated,
Sebastian

_________________
sebastian signature
Back to top
View user's profile Send private message Visit poster's website
bower5932
PostPosted: Mon Jan 12, 2004 6:14 am    Post subject: Reply with quote

Jedi Knight

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

There are a bunch of sample java programs here on this site (see the repository). There are also some on the PartnerWorld site:

http://www.developer.ibm.com/tech/sampmq.html

As far as what you'll need, you didn't mention that you have a Qmgr, but I'm guessing that you do. I'd also suggest that you try to get the amqsputC sample to work. It is already compiled and ready to go. It can help verify your environment.

set MQSERVER=SYSTEM.DEF.SVRCONN/tcp/qmgr-hostname
amqsputc SYSTEM.DEFAULT.LOCAL.QUEUE qmgr

Good luck!
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
sebastian
PostPosted: Tue Jan 13, 2004 6:12 am    Post subject: Reply with quote

Centurion

Joined: 12 Nov 2003
Posts: 110
Location: Philadelphia

Thanks........this is a big help
Seb
_________________
sebastian signature
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Very Basic Java/MQ example
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.