Author |
Message
|
murugaanandam |
Posted: Thu May 20, 2004 3:38 am Post subject: Queue Testing - Problem |
|
|
Novice
Joined: 22 Apr 2004 Posts: 19
|
Dear all
i am using websphere mq 5.3 / solaris (sparc)
i conifigure qmanager and queue
like ISSD11 - qmger
IUTS.MQDE.ISSD11.REQ.INQ.01 - queue name
i tested the queue,
i added test message thro ./amqsput qname qmger
i cant retrive the message thro ./amqsget qname qmger
its return no more message.
and i call the display qlocal(qname) , that currdepth(0) like this.
what is the prblem, tell me solution
thanx in advance
regares
muruganandam |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu May 20, 2004 3:45 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Did amqsput return a good result? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
scottm |
Posted: Thu May 20, 2004 4:01 am Post subject: |
|
|
Apprentice
Joined: 13 May 2004 Posts: 44 Location: SE Tennessee
|
Did you check the dead letter queue, or any of the other queues that you have to see if it got redirected?
Scott |
|
Back to top |
|
 |
murugaanandam |
Posted: Thu May 20, 2004 4:10 am Post subject: still persist |
|
|
Novice
Joined: 22 Apr 2004 Posts: 19
|
hi all
what is the meaning of good result
actually its return nothing
./amqsput qname qmr
and type sample message
thats all
and i call ./amqsget qname qmr
i am not able to retrive the sample message
and also check the SYSTEM.DEAD.LETTER.QUEUE
same result.
regards
muruganandam |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu May 20, 2004 4:19 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
so, you type ./amqsput qname qmr and hit enter.
You see then on the screen something that says
Sample AMQSPUT0 start
target queue is qname
You then type in your message, and hit enter.
You then type in Ctl-D to exit amqsput, and it says "Sample AMQSPUT0 end".
And the queue you are putting to is a LOCAL queue, not a remote queue definition, and is empty when you are done? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu May 20, 2004 4:20 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
I believe that you will need to terminate amqsput before the message appears on the queue.....but I could be wrong as I don't use it too often and have always terminated before trying to read the message |
|
Back to top |
|
 |
mqonnet |
Posted: Thu May 20, 2004 4:30 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Quick beginnings guide is the best place to follow what the problem is. Check it out on IBM's website.
Cheers
Kumar _________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
Back to top |
|
 |
bower5932 |
Posted: Thu May 20, 2004 5:16 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
amqsput doesn't do anything with units of work. You should be able to have it running in one window and amqsget in another. As you put messages in amqsput, you'll see them gotten in amqsget. You don't have to end amqsput to see the messages. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu May 20, 2004 5:35 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
bower5932
Thanks. I wasn't too sure if it needed to end before the message 'appeared'. As I say I have always just ended it before trying to do any gets. |
|
Back to top |
|
 |
|