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 » WebSphere Message Broker (ACE) Support » Broker executing MQ API

Post new topic  Reply to topic
 Broker executing MQ API « View previous topic :: View next topic » 
Author Message
bobbee
PostPosted: Wed Jun 24, 2015 1:16 pm    Post subject: Broker executing MQ API Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 541
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
View user's profile Send private message Send e-mail AIM Address
fjb_saper
PostPosted: Wed Jun 24, 2015 1:29 pm    Post subject: Re: Broker executing MQ API Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
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
View user's profile Send private message Send e-mail
bobbee
PostPosted: Wed Jun 24, 2015 5:31 pm    Post subject: Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 541
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
View user's profile Send private message Send e-mail AIM Address
mqjeff
PostPosted: Thu Jun 25, 2015 5:44 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It's less of an anti-pattern as dangerous.
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 » WebSphere Message Broker (ACE) Support » Broker executing MQ API
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.