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 » Clustering » Temporary Queues in Clusters

Post new topic  Reply to topic
 Temporary Queues in Clusters « View previous topic :: View next topic » 
Author Message
sfari
PostPosted: Tue Oct 16, 2007 8:24 am    Post subject: Temporary Queues in Clusters Reply with quote

Centurion

Joined: 15 Apr 2003
Posts: 144

Hello,

I am wondering if it is somehow possible to create (using JMS) a temporary reply queue, which is visible on other queue managers. For example as a cluster queue (model queue has no cluster attribute ).

I know that the usual way is to set the ReplyToQ and ReplyToQmgr headers. The Problem is that we do not allow the services, which produce the reply to put on the transmission queues. Thus the ReplyToQmgr will not work. We don't allow that because of our security concept, which does separate the mq applications from each other with allowing them only to access their own queues.

Any other idea than cluster, how we could reach a temp. reply queue on a other queue manger without opening this security restrictions.

Thanks for your ideas!
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 16, 2007 2:26 pm    Post subject: Reply with quote

Grand High Poobah

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

Use a qmgr alias that's unique to the application...?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Oct 17, 2007 3:00 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

fjb_saper wrote:
Use a qmgr alias that's unique to the application...?


The problem still remains that each qmgr that hosts the receiving application has to have an alias, and that anyone who can put to the alias can put to any queue on the destination qmgr.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Oct 17, 2007 3:22 am    Post subject: Reply with quote

Grand High Poobah

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

Well the only way to really lock it down is to allow only fixed reply to queues and have a remote queue specified for each of those. You can then set the remote qmgr and qname on the replyto information. Security can then be setup at the sending qmgr....

Complicated but would prevent the previous problem.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Oct 17, 2007 3:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

At least a permanent dynamic queue, rather than a temporary one.

But then this leads to things like 3,000 queues to manage...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
sfari
PostPosted: Wed Oct 17, 2007 4:43 am    Post subject: Reply with quote

Centurion

Joined: 15 Apr 2003
Posts: 144

Through your discussion an idea came up in my mind. I would be interested in your opinion.

Assuming we have QMA (client side) and QMB (server side). On QMB I define a queue manager alias QMA_S, which points to QMA. QMA_S routes the message over a separate channel. QMA_S and the channel belongs to a specific application.

    The client puts a request on a cluster Q on QMA (local Q is on QMB). The client sets ReplyToQM to QMA_S and ReplyToQ to a temporary queue on QMA.

    The server just reacts in common way putting the reply to what it says in the request header.


Authorizations for specific applications can be defined on QMA_S. The separate channel allows to set a MCAUSER on the QMA side so I can set up specific authorizations there as well.

I think this would technically work but it's not really manageable for operations. What I also don't like about this is that I can not use the cool feature of reducing object definitions of MQ clustering.

Wow, that's complicated stuff . Any other ideas?
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Oct 17, 2007 10:14 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

With the restrictions in place I think your solution is as good as you are going to get.
_________________
Peter Potkay
Keep Calm and MQ On
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 » Clustering » Temporary Queues in Clusters
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.