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 API Support » Java source code for request-reply app.

Post new topic  Reply to topic
 Java source code for request-reply app. « View previous topic :: View next topic » 
Author Message
prasannaladdha
PostPosted: Wed Mar 05, 2003 5:38 am    Post subject: Java source code for request-reply app. Reply with quote

Newbie

Joined: 06 Dec 2002
Posts: 9

Hi,
I want a non-JMS java code written for a request-reply scenario urgently.
I am new to MQSeries.
Pls send me details ASAP.
Thanks.
Pras
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Wed Mar 05, 2003 9:52 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

There are lots of Java samples in the Java repository at www.mqseries.net (click link above) or you can check-out the Java samples at my site at
www.capitalware.biz/sample_mqseries.html#javacode

later
Roger...
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
prasannaladdha
PostPosted: Wed Mar 05, 2003 10:22 pm    Post subject: Java samples for Req/Reply Reply with quote

Newbie

Joined: 06 Dec 2002
Posts: 9

Hi Roger,
Thanks,
But, MQJmsReq/Reply is the one provided on your site.
This is using JMS, Can't it be done without JMS?
Because for JMS I need to do more settings.
Pls let me know.
-Prasanna
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Mar 06, 2003 6:35 am    Post subject: Reply with quote

Jedi Knight

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

You can definitely do request/reply with base java. I know that C samples ship with the product. I imagine nobody every got around to making a base java version...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
RogerLacroix
PostPosted: Thu Mar 06, 2003 10:09 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hey Pras, you are not trying.

In my Java section, I have posted 2 programs (non JMS) that I wrote: MQWrite and MQRead.
- MQWrite does a connect, open, put, close, disconnect (i.e. request msg)
- MQRead does a connect, open, get, close, disconnect (i.e. reply msg)

So, put the 2 programs together and you have your request / reply.

later
Roger...
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
prasannaladdha
PostPosted: Thu Mar 06, 2003 10:33 pm    Post subject: Thanks Reply with quote

Newbie

Joined: 06 Dec 2002
Posts: 9

Thanks everyone for helping me. I got my Re-Reply working.
-Pras
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Java source code for request-reply app.
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.