Author |
Message
|
Michael Dag |
Posted: Wed Dec 25, 2013 4:20 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
fjb_saper wrote: |
You might have to look at the JMS_IBM property...
|
I don't think these are available in a pure JMS (non-IBM supplied) library  _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Dec 26, 2013 7:48 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
sebastia wrote: |
... mmm ... targetClient ... an interesting property ...
How do I set it ?
Is it a message property ?
Looks like "connection" property ...
Family time today ... more on friday
Best wishes for all the good people around !
Sebastian. |
targetClient is a Destination property.
Send your message to a local queue:
Code: |
Queue myqueue = sess.createQueue("queue:///MYLOCALQUEUE?targetClient=1");
producer = sess.createSender(myqueue);
msg.setJMSreplyto (myqueue);
producer.send(msg); |
Read back your message (using a queue receiver) and check the content of reply to destination... It should now have a qmgr in it...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sebastia |
Posted: Sat Dec 28, 2013 1:47 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Writing into a local and the reading the same queue to get a local queue manager name seems to me ...
1) factible, possible
2) slow
... but if there is no JMS method or attribute ... shall be good enough.
Happy 2014 ! |
|
Back to top |
|
 |
mqjeff |
Posted: Sat Dec 28, 2013 7:36 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
JMS does things to ensure that replytoqmgr is set to the name of the local qmgr when you send a request message.
This is why, when you are using MQ clusters, you have to take steps to administratively configure the destinations used to send requests to blank out the replytoqmgr, or use a cluster qmgr alias that blanks it out for you. |
|
Back to top |
|
 |
sebastia |
Posted: Sat Dec 28, 2013 7:59 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Hi, MQ Jeff - it is wonderful (ibm) JMS does as many things for you ... but .. do we know all of them ? Are we aware of all that happens ?
I mean : are all those "hidden" operations ... are they listed somewhere ?
Otherwise ... their meaning would be lost in the wind ... IMHO
Sebastian, in favour of "open source" concept. |
|
Back to top |
|
 |
mqjeff |
Posted: Sun Dec 29, 2013 8:28 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
There used to be a page in the info center about mapping from JMS headers to MQ headers and vice versa.
I've not looked for it recently. |
|
Back to top |
|
 |
sebastia |
Posted: Sun Dec 29, 2013 9:17 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
|
Back to top |
|
 |
|