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 » User Exits » User exit - the way to go to implement a receive handler?

Post new topic  Reply to topic
 User exit - the way to go to implement a receive handler? « View previous topic :: View next topic » 
Author Message
GeordieBri
PostPosted: Tue Feb 24, 2009 8:23 am    Post subject: User exit - the way to go to implement a receive handler? Reply with quote

Newbie

Joined: 05 Feb 2009
Posts: 8

Hi,

From my (little) experience of MQ so far, it appears that if I want to know if I've received a message, I must constantly 'poll' the message queue.

Is there an event-driven method (in MQ .NET) that notifies me that messages have arrived?

Thanks!
Brian
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 24, 2009 8:37 am    Post subject: Re: User exit - the way to go to implement a receive handler Reply with quote

Grand High Poobah

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

GeordieBri wrote:
Is there an event-driven method (in MQ .NET) that notifies me that messages have arrived?


Look up triggering, or if you've using WMQv7 the shiny new callback function.

Don't poll a queue unless you're using WAS or running on z/OS
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 24, 2009 8:39 am    Post subject: Re: User exit - the way to go to implement a receive handler Reply with quote

Grand High Poobah

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

GeordieBri wrote:
From my (little) experience of MQ so far


Abandon all thoughts of exits. They are an advanced topic and you need a lot of experience to use them; dire consequences can result.

You also very seldom need them, though many people think they need them.

You certainly don't need one.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Feb 24, 2009 8:50 am    Post subject: Re: User exit - the way to go to implement a receive handler Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

GeordieBri wrote:
Is there an event-driven method (in MQ .NET) that notifies me that messages have arrived?


There is a .NET equivalent to a JMS Message Driven Bean.

Since you have already found the .NET Programming Guide, you have merely to keep reading it to find more information on this topic.
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 » User Exits » User exit - the way to go to implement a receive handler?
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.