Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable put on a clustered (not local) queue

Status
Not open for further replies.

miki99

Programmer
Aug 19, 2004
1
0
0
IT
Hi all,
I am a newbie of MQ programming( using WebSphere MQ 5.3 CSD4 on Windows).
I have a cluster with two queue managers QM1, QM2 and a clustered queue Q1 defined in QM2.
I did the following test using test MQ sample program
amqsputc. (command line >amqsputc Q1 QM1).
1) connect to a Queue manager QM1.
2) call MQOPEN with option BIND_ON_OPEN (queue is Q1)-->
works fine.
3) disable put permission on queue q1.
4) call MQPUT onto Q1 ---> I don't get any errors RC==0!! and CC==0!.
5) MQCLOSE.

Why does not amqsputc get any error?

Thanks.


 
You cannot get return code error for remote queue.
Probably your message sits on dead letter queue on remote queue manager.

Regards.
Leonid.

IBM Certified MQSeries Specialist.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top