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 IndexClusteringempty REPLYTOQMGR in request message

Post new topicReply to topic Goto page Previous  1, 2, 3
empty REPLYTOQMGR in request message View previous topic :: View next topic
Author Message
sebastia
PostPosted: Tue May 14, 2013 8:28 am Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Of course, Peter, I saw your solution.

And I agree with Victor is an elegant one ... but does not fit our case, so I have to change it too much ... or just cant (dont know hot to) change it to fit our case.

first difference : you say "I'm assuming the replying app is connected to a QM outside the cluster".

In fact, our responding app starts using triggering in QMAS q mgr (see previous schema), which participates in the cluster.

second problem : the message coming into the cluster does not have the replytoqmgr field blank, so the responding applications sends to a specific qmgr

And I dont know if the qmgr alias mechanism can "erase" this field so clustering comes into play again ...

Trying to rethink our envir to "live" with the response message coming to s fixed qmgr ... Maybe it is not so bad, jejeje

I appreciate your help, realy. Sebastian.
Back to top
View user's profile Send private message Visit poster's website
hughson
PostPosted: Tue May 14, 2013 8:30 am Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

sebastia wrote:
And I dont know if the qmgr alias mechanism can "erase" this field so clustering comes into play again ...
You should try it to see that it does
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
sebastia
PostPosted: Tue May 14, 2013 8:35 am Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

OK, I promise to test it ... tomorrow .. jejeje

Sebastian.
Back to top
View user's profile Send private message Visit poster's website
sebastia
PostPosted: Tue May 14, 2013 8:45 am Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

fjb_saper wrote:
Now from anywhere in the cluster you can route to the external qmgr going through your gateway(s) where you defined the shared alias to the cluster.


Thanks, mr Saper - I understand what you say, but we have no "external" qmgr ...

Our sending APP connects to cluster using MQ client.

In fact, the 3.000 shops (able to open 15.000 simultaneous connections)
connect into the cluster using CCDT (s), so they dont know at what qmgr they are connected at a given moment ...

Best luck. Sebastian.
Back to top
View user's profile Send private message Visit poster's website
sebastia
PostPosted: Wed May 15, 2013 2:39 am Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Well, here are the results ... to Peter's indication ...

Message I sent is goes to
destination Q = [QL.DADES.TRIG]
where it is "responded" using triggering ...
and values
replyToQ = QL.DELPHI.GRAW.OUT
replyToQmgr = VITOR_WUZ_HERE <<<<<<<<<<<


Without any change ... we have an error, as expected :

Quote:
>>> Put1() a msg. hCon [0x1400006].
Q
[QL.DELPHI.GRAW.OUT ],
qmgr
[VITOR_WUZ_HERE ].
+-+ MQPUT1() CC/RC [0x02/0x0827] {MQRC 2087}.


Now Peter's imporvement comes : at "responder" qmgr, we define

Quote:
define qremote(VITOR_WUZ_HERE) RNAME(' ') RQMNAME(' ') XMITQ(' ') replace


And the result is ...

a) if one cluster queue defined ... (qmgr = CLSPATAN)

Quote:
display ql(QL.DELPHI.GRAW.OUT) curdepth | runmqsc CLSPATAN
QUEUE(QL.DELPHI.GRAW.OUT) TYPE(QLOCAL)
CURDEPTH(94)


b) if more cluster queues are defined ... they are also used

Quote:
display ql(QL.DELPHI.GRAW.OUT) curdepth | runmqsc QMAS
QUEUE(QL.DELPHI.GRAW.OUT) TYPE(QLOCAL)
CURDEPTH(11)



I have to say : BIG THANKS to you all, Vitor, Morag and Peter, and mr Saper ...

pd.- you have the right to know there is an extract of what we've talked and done in my "blog" at

>>> http://usuaris.tinet.cat/sag/mq_cluster.htm

... if you search for "Peter" ... or "SAGCLUSTER"

Any improvements are always welcome, as well as contructive criticism ...
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Wed May 15, 2013 4:41 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Glad you arrived at a solution.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sebastia
PostPosted: Wed May 15, 2013 4:45 am Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Thanks for your patience, Vitor.

I think we already had a very similar discussion some time ago, but I cant find it using "search" ...

You also said the sender always wants to receive the reply.
But MQ allows you to specify where to send it.
It is NOT mandatory to receoive it at the same qmgr where you send the request.

And I agree with you 98% ... jejeje

Just want to be able to specify where to send the Reply (or response)... and also want to be able to send it to a cluster q ...

Again, I appreciated your patience.
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Wed May 15, 2013 5:12 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sebastia wrote:
You also said the sender always wants to receive the reply.
But MQ allows you to specify where to send it.
It is NOT mandatory to receoive it at the same qmgr where you send the request.

And I agree with you 98% ... jejeje


I simply pointed out the traditional pattern of request / reply has the reply going to the requestor. It's certainly not mandatory to do that, and other patterns of message movement (like "workflow") are possible.

sebastia wrote:
Just want to be able to specify where to send the Reply (or response)... and also want to be able to send it to a cluster q ...


And now you can. Life is good and the joy flows like rain.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sebastia
PostPosted: Wed May 15, 2013 5:26 am Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Vitor wrote:
Life is good and the joy flows like rain.


I like that phrase.

Quid pro quo : You can't get lost if you don't know where you're going

jejeje
Back to top
View user's profile Send private message Visit poster's website
bruce2359
PostPosted: Wed May 15, 2013 6:22 am Post subject: Reply with quote

Poobah

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

Time flies like an arrow; fruit flies like a banana.
_________________
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
sebastia
PostPosted: Wed May 15, 2013 6:42 am Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

bruce2359 wrote:
Time flies like an arrow; fruit flies like a banana.


Yes, I have seen that phrase quite few times ... jejeje ...

q.p.quo :

"you never go so far as when you dont know where you are going",
...
said mr Cromwell (excuse my traduction, but cant find the original phrase)

I have found this :

“no one rises so high as he who knows not whither he is going”
Back to top
View user's profile Send private message Visit poster's website
bruce2359
PostPosted: Wed May 15, 2013 7:57 am Post subject: Reply with quote

Poobah

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

"Wherever you go, there you are."
_________________
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
JosephGramig
PostPosted: Wed May 15, 2013 12:16 pm Post subject: Reply with quote

Grand Master

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

"It's the He Coon that walks at the light of day!"
FL Gov. Lawton Chiles (RIP)...
Back to top
View user's profile Send private message AIM Address
sebastia
PostPosted: Wed May 15, 2013 10:08 pm Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

About

bruce2359 wrote:
I'm not paranoid; but the fellow following me is


in Spain we say

Quote:
El hecho de ser paranoico no significa que no te estén siguiendo


which traduced shall be something like

Quote:
The fact of being a paranoid does not mean I am not being followed


which I find quite funny
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:
Post new topicReply to topic Goto page Previous  1, 2, 3 Page 3 of 3

MQSeries.net Forum IndexClusteringempty REPLYTOQMGR in request message
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.