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 » MQ PUT nd MQ GET Java sample programe

Post new topic  Reply to topic
 MQ PUT nd MQ GET Java sample programe « View previous topic :: View next topic » 
Author Message
MQMITH
PostPosted: Thu Dec 11, 2014 3:42 am    Post subject: MQ PUT nd MQ GET Java sample programe Reply with quote

Novice

Joined: 22 May 2014
Posts: 10

Hi Team

I want to connect to a MQ QMGR from a client mechine and PUT and GET some messages.

Please help me to provide/suggest me a sample API program and how to use it, for below activities..

-Put messages on QL.TEST queue on QMGR.TEST queue manager.
-Get messages from QL.TEST queue on QMGR.TEST queue manager.

I am able to put the messages using amqsputc, and I am able to get the same messages using the triggering process through amqsgetc. But I want to do this through a standard process.

Please help me.

Mith.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Dec 11, 2014 5:25 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There are several Java programs that come with MQ as samples.
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Dec 11, 2014 6:40 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

What is the reason for asking?

To learn how to code MQI programs?

To code something more complex than the samples (which come with source)?

If you want a utility to put/get from the command line - try support pac MA01.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
MQMITH
PostPosted: Fri Dec 12, 2014 7:15 am    Post subject: Reply with quote

Novice

Joined: 22 May 2014
Posts: 10

Zpat.. Thanks a lot.. That is what I am looking for, a program to GET a message with the header. I can achieve this with the Q tool.

Mith
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 Java / JMS » MQ PUT nd MQ GET Java sample programe
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.