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 » Need help with setting up an MQ listener

Post new topic  Reply to topic
 Need help with setting up an MQ listener « View previous topic :: View next topic » 
Author Message
rholst1
PostPosted: Thu Dec 18, 2008 9:04 am    Post subject: Need help with setting up an MQ listener Reply with quote

Newbie

Joined: 18 Dec 2008
Posts: 1

Disclaimer: I just started working with MQ series about 2 days ago, and I'm on a very tight schedule.

Our organization is in the process of purchasing a vendor product that communicates via MQ series with the rest of our system. My job is to develop a service that provides data to this vendor product over MQ.

Here is our current configuration and proposed process:

* AIX box hosts vendor product (some sort of web application) and MQ Server.
* Windows Server 2003 box hosts MQ Server and my .NET Web Service.
* Clients make requests in the vendor product, and the request is placed in the AIX request queue, which is then moved to the Windows server request queue via a channel.
* My .NET Web Service needs to somehow retrieve requests from the request queue on the Windows box and place a response in the response queue on the Windows box. The requests and responses are schema defined XML format provided by the vendor.

Here is where I'm at now:
* Standard .NET Web Service is built and published to the Windows server. The service takes one parameter (request XML) returns a System.Xml.XmlDocument object that conforms to the vendor schema.
* A request and response queue exists on the web server, but I cannot figure out how to get a listener to invoke the web service.

I've extensively read http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=/com.ibm.mq.csqzau.doc/ts10260_.htm (talks about amqwSOAPNETListener)

and

http://www.redbooks.ibm.com/redbooks/pdfs/sg247012.pdf (talks about MQSOAPHost)

However, I'm not sure which listener to use, and I'm having a hard time reading through and understanding all of the details provided in the documentation. Is there a VERY simple explanation of what I need to do somewhere on the web? If not, please let me know what details I need to provide to put me on the right track.

I'd like to have a Merry Christmas and not be stressed out about missing an end of the year incentive
Back to top
View user's profile Send private message Send e-mail
zhanghz
PostPosted: Thu Dec 18, 2008 4:36 pm    Post subject: Reply with quote

Disciple

Joined: 17 Jun 2008
Posts: 186

it looks to me a trigger instead of listener.

Messages arriving at request queue on Win2003 can automatically trigger some program on Win2003.

More info on trigger can be found in MQ applicaiton programming guide, MQSC reference.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Dec 18, 2008 11:34 pm    Post subject: Reply with quote

Grand High Poobah

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

MQ Listener normally refers to the TCP/IP listener for MQ channel communications -- see intercommuncations manual

MessageListener refers to a JMS/XMS API that allows you to listen for messages on a destination and kick off a particular piece of code when a message is delivered. Note: your connection must be in started status.
This technique is also used in MessageDrivenBeans. (MDB).

This can also be achieved through the triggered or (V7 async call back) mechanisms.

Enjoy
_________________
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 » Need help with setting up an MQ listener
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.