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 » AMQSPUT--Java code

Post new topic  Reply to topic
 AMQSPUT--Java code « View previous topic :: View next topic » 
Author Message
srinivas Raju
PostPosted: Wed Feb 21, 2007 5:14 am    Post subject: AMQSPUT--Java code Reply with quote

Novice

Joined: 20 Feb 2007
Posts: 22
Location: India

Dear Members

I thank you all for giving valuable support.

Here i have problem with amqsput utility, it's not able to handle few exceptions which i need for my application.

so i like to extract this utility and i want to do some modifications, in which way i need.

could u help me like how to extract this utility or where can find the source code for this utility

and i am planning to do same in java platform.

your help in this regard would be highly Appreciated

Thank you
sreenu
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
ramires
PostPosted: Wed Feb 21, 2007 5:17 am    Post subject: Reply with quote

Knight

Joined: 24 Jun 2001
Posts: 523
Location: Portugal - Lisboa

sreenu,

search in the directory called "samples", the source code is there.

Regards
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 21, 2007 5:24 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

But amqsput is written in c.

fortunately, there are plenty of Java samples around, and plenty of documentation on how to write good MQ programs Using Java.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Feb 21, 2007 5:37 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

http://www-304.ibm.com/jct09002c/isv/tech/sample_code/mq/MSender.java

---

Not perhaps the best example in terms of setting MQMD.format, but it is a starting point.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Feb 21, 2007 5:46 am    Post subject: Re: AMQSPUT--Java code Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

srinivas Raju wrote:
Here i have problem with amqsput utility, it's not able to handle few exceptions which i need for my application.


It handles them just fine - it just handles them by echoing the code to the screen and stopping! Not exactly production strength I accept, but it is only a sample....

srinivas Raju wrote:
where can find the source code for this utility


In the samples folder of the queue manager install.

srinivas Raju wrote:
and i am planning to do same in java platform.


See above
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » AMQSPUT--Java code
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.