|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Broker executing MQ API |
« View previous topic :: View next topic » |
Author |
Message
|
bobbee |
Posted: Wed Jun 24, 2015 1:16 pm Post subject: Broker executing MQ API |
|
|
 Knight
Joined: 20 Sep 2001 Posts: 545 Location: Tampa
|
Is there a sample that shows broker executing the MQ API. I want to do a connect, MQINQ, and then disconnect. I searched, could not find one. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jun 24, 2015 1:29 pm Post subject: Re: Broker executing MQ API |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
bobbee wrote: |
Is there a sample that shows broker executing the MQ API. I want to do a connect, MQINQ, and then disconnect. I searched, could not find one. |
There's a reason for that. It's because it's an anti-pattern.
If you want information on a qmgr / queue you'd have to issue the corresponding PCF message and evaluate the response...
That could potentially be arranged in a JCN passing the content to an MQOutput node... and reading the content from an MQGet node... to make interpretation of the content easier accessing the java PCF interfaces???
Never tried it, but that's the way I would lean...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
bobbee |
Posted: Wed Jun 24, 2015 5:31 pm Post subject: |
|
|
 Knight
Joined: 20 Sep 2001 Posts: 545 Location: Tampa
|
I like the PCF approach although I never did buy into that anit-pattern BS. what a stupid term. Thanks, will look into that. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jun 25, 2015 5:44 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
It's less of an anti-pattern as dangerous. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|