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 strongm 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 local queue

Status
Not open for further replies.

rajeessh

Programmer
Apr 11, 2002
207
IN
Hi Experts,
I have two QMgrs Q1 and Q2.
Q1 has a remote queue Q1.toQ2 talking to Q1.toQ2 outgoing local queue in Q2. Now I want only the messages being put in Q1's remote Queue to reach Q2 local queue. I just want to prevent the user from directly connecting to the local queue of Q2 and just put the message.

I tried inhibiting put but the message being put from remote Qmgr also goes to deadletter queue.
I just want to avoid the user from directly put on message to the local queue in Q2. how can i acheive that.

Thanks in advance for your help and guidance
 
You can prohibit a queue access by local authorization settings for MQ users ( setmqaut ).

Regards.
Leonid.

IBM Certified MQSeries Specialist.
 
Can you enlighten still more.
If I want only my application to put message and not
any other application/user how can I do it.
Pl enlighten
 
I am not sure I fully understand why you would want to allow users to drop messages only from a remote queue manager but..... couldn't you just prevent them connecting to the queue manager on the system with the Local queue defined to it?

Your second post about "If I want only my application to put message and not any other application/user how can I do it."......You could check the message header to make sure it was your application that put the message there and drop all others onto a poison letter queue.
 
I am not sure I fully understand why you would want to allow users to drop messages only from a remote queue manager but..... couldn't you just prevent them connecting to the queue manager on the system with the Local queue defined to it?

Your second post about "If I want only my application to put message and not any other application/user how can I do it."......You could check the message header to make sure it was your application that put the message there and drop all others onto a poison letter queue.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top