Posted: Fri Sep 26, 2003 4:24 am Post subject: Putting and Getting the messages
Apprentice
Joined: 08 Feb 2003 Posts: 47
Using the control command amqsput on a windows/solaris environment I was able to put a single message or the number of messages I desire.
But while using amqsget I am getting all the messages in the queue. I want to get only one message or desired number of message. For this, as of now I am doing it by writing a program in java. The same I want to achieve using control commands. Can anyone help me in this regard?
You can use command line options from java applications.
Or you could modify the source for amqsget to do what you want. But it sounds like you're more comfortable with Java. _________________ I am *not* the model of the modern major general.
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