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 » WebSphere Message Broker (ACE) Support » How to *delete* msgs from a queue with specific user

Post new topic  Reply to topic
 How to *delete* msgs from a queue with specific user « View previous topic :: View next topic » 
Author Message
mqsiuser
PostPosted: Thu Feb 05, 2015 12:13 am    Post subject: How to *delete* msgs from a queue with specific user Reply with quote

Yatiri

Joined: 15 Apr 2008
Posts: 637
Location: Germany

Dear experts,

we would like to delete msgs from queues from within our flow, but not with using the broker-user. We want to use a different user.

Currently we are using a MQGet-Node and we are propagating into the MQGet-Node to get each msg, until the queue is empty.

In another flow, we are setting the user before a MQOutput-Node like this:

Code:
SET OutputRoot.MQMD.UserIdentifier = 'ourAIXUser';


And we hoped to do likewise for MQGet. But our tests showed that the MQGet-node does not use this UserIdentfier as the user that does the 'get'.

How can we make this work? Any other mechanisms (e.g. PCF-commands)?

OR: Is this not possible by design, e.g. because on the MQOutput the writing user may still be the Broker-user and "UserIdentifier" is 'just' a field we set?

Looking forward to hear from you,
MQSIUSER
_________________
Just use REFERENCEs


Last edited by mqsiuser on Thu Feb 05, 2015 12:22 am; edited 1 time in total
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Feb 05, 2015 12:22 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Setting the MQMD in that way will only affect MQPUTs, and it will only set the MQMD in the message, it won't change the id used to connect to the queue manager.

You don't say which version/platform of broker you are using, but all current versions connect to MQ using the broker id.

I'm not clear why this is a problem, what issue are you trying to overcome?
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
mqsiuser
PostPosted: Thu Feb 05, 2015 12:58 am    Post subject: Reply with quote

Yatiri

Joined: 15 Apr 2008
Posts: 637
Location: Germany

Broker-Version is 7.0.0.6

zpat wrote:
I'm not clear why this is a problem, what issue are you trying to overcome?


We want one flow to have more/other rights than the other flows.

This one flow is then used for maintainance-tasks, like cleaning backout-queues.

We want all other/regular flows to have/be get-inhibit on the backout queues.

We want only this one flow to have the get-right on all queues.
_________________
Just use REFERENCEs
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Feb 05, 2015 1:27 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

This requirement has certainly been mentioned to IBM, but I don't think there has been much progress on it. Even if there was more granular access control - it most likely be at execution group level and not at the flow level.

Indeed it is a bit of a security issue that any flow has brokerid authority to all queue in that same QM. I don't know of any way to overcome this in current versions other than to use separate brokers with different ids.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 05, 2015 5:36 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Trying to thing outside the box... Has anybody tried to do that with JMS nodes? With a client connection to the qmgr you could assert a different identity...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Thu Feb 05, 2015 6:40 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

In terms of MQ client connections from broker - check out IIB v10.

NO need for JMS nodes to do this.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
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 » WebSphere Message Broker (ACE) Support » How to *delete* msgs from a queue with specific user
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.