|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
User exit - the way to go to implement a receive handler? |
« View previous topic :: View next topic » |
Author |
Message
|
GeordieBri |
Posted: Tue Feb 24, 2009 8:23 am Post subject: User exit - the way to go to implement a receive handler? |
|
|
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 |
|
 |
Vitor |
Posted: Tue Feb 24, 2009 8:37 am Post subject: Re: User exit - the way to go to implement a receive handler |
|
|
 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 |
|
 |
Vitor |
Posted: Tue Feb 24, 2009 8:39 am Post subject: Re: User exit - the way to go to implement a receive handler |
|
|
 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 |
|
 |
mqjeff |
Posted: Tue Feb 24, 2009 8:50 am Post subject: Re: User exit - the way to go to implement a receive handler |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|