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 » General IBM MQ Support » Queue manager Alias- reply-to-Queue

Post new topic  Reply to topic
 Queue manager Alias- reply-to-Queue « View previous topic :: View next topic » 
Author Message
gag_nm
PostPosted: Mon Nov 18, 2013 12:42 am    Post subject: Queue manager Alias- reply-to-Queue Reply with quote

Centurion

Joined: 16 Oct 2008
Posts: 102

we have three Queue managers(QA,QB,QC).

we want to send messages to LQ3 of QC through QB and reply back to LQ1 on LQA using reply-to-queue.


Code:

On QMA

we defined below queues

DEF QR(QMC) RQMNAME(' ')   RNAME(' ') XMITQ(QMB)
DEF QR(QC)  RQMNAME('QMC') RNAME(' ') XMITQ('QMC')
DEF QL(QMB) USAGE(XMITQ) TRIGTYPE(FIRST) TRIGGER

on QMB

DEF QL(QMC) USAGE(XMITQ) TRIGTYPE(FIRST) TRIGGER

on QMC

DEF QL(QC)



how do i setup for response back on LQ1 on QA using reply-toQueue mentioned in request message.

please provide some information to achieve this....
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Mon Nov 18, 2013 4:16 am    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

I'm not sure I understand your question. Why could the application not just add the transmission queue definitions for the way back like this ?....

on QMB

DEF QL(QMA) USAGE(XMITQ) TRIGTYPE(FIRST) TRIGGER

on QMC

DEF QL(QMB) USAGE(XMITQ) TRIGTYPE(FIRST) TRIGGER
DEF QR(QMA) RQMNAME(' ') RNAME(' ') XMITQ(QMB)


Then the application can specify whatever reply queue it likes on QMA and get the responses back.

Cheers,
Paul.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Mon Nov 18, 2013 4:28 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

PaulClarke wrote:
Then the application can specify whatever reply queue it likes on QMA and get the responses back.


And now, anyone connected to QMC has full access to the command server on QMA.
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Mon Nov 18, 2013 4:42 am    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

Quote:
And now, anyone connected to QMC has full access to the command server on QMA.


That's a bit like saying that anyone who is connected to QMA has full access to the command server.

Are you implying that if you connect to a queue manager that you then have no control over security? Clearly that statement would be ridiculous.

There are, no doubt, security implications whenever one machine is connected to another. I didn't get the feeling that the question was about security though, but more about routing.

Cheers,
Paul.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Mon Nov 18, 2013 5:04 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I agree the question is not about security.

My point is that the route you have described does exactly what you have said it does. It allows any application connected to QMC to send a message to any queue on QMA.

Perhaps it's unnecessary for me to state that this also includes the command server queue. But I thought it might be helpful to do so.

Perhaps it's pessimistic of me to expect that the channel to QMA does nothing to provide any security measures. But I don't believe it's *unrealistic* to think that.
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Mon Nov 18, 2013 5:15 am    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

I think we all agree that securing your channels and your queues is a good thing. However, in the original question there were these definitions.

Quote:

On QMA

we defined below queues

DEF QR(QMC) RQMNAME(' ') RNAME(' ') XMITQ(QMB)
DEF QR(QC) RQMNAME('QMC') RNAME(' ') XMITQ('QMC')
DEF QL(QMB) USAGE(XMITQ) TRIGTYPE(FIRST) TRIGGER

on QMB

DEF QL(QMC) USAGE(XMITQ) TRIGTYPE(FIRST) TRIGGER

on QMC

DEF QL(QC)


This allows anyone on QMA to target any queue on QMB or QMC and anyone on QMB to target queues on QMC. All I did was point out that the mirror set of definitions would get the response back again.

I fail to see how the mirror set of definitions is more innately insecure than anything else. Why is the direction of QMC to QMA your only cause for concern ? As I said, securing channels and queues is another topic albeit an important one.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Mon Nov 18, 2013 6:19 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I agree!

I merely thought it would be helpful to mention the security aspects here.
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Mon Nov 18, 2013 6:31 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

Like, you need to inject the msg with an authorized ID in the MQMD for the command server to do what you ask it to do. Not to mention you had to inject a command msg.

Pessimistic? You Jeff? No way...
Back to top
View user's profile Send private message AIM Address
gag_nm
PostPosted: Thu Dec 19, 2013 12:20 am    Post subject: Reply with quote

Centurion

Joined: 16 Oct 2008
Posts: 102

hi

Using Rhfutl , trying to send message to this QMC, but i am receving

*Error cc=2 rc=2184 Cannot Open as error.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Dec 19, 2013 6:23 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Search here, or on google, for ReasonCode 2184.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Dec 22, 2013 9:24 pm    Post subject: Reply with quote

Grand High Poobah

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

Quote:
DEF QR(QMC) RQMNAME(' ') RNAME(' ') XMITQ(QMB)


Should have been defined as:
Code:
DEF QR(QMC) RQMNAME('QMC ')   RNAME(' ') XMITQ(QMB)


Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Queue manager Alias- reply-to-Queue
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.