|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
running a GetMQMessage class |
« View previous topic :: View next topic » |
Author |
Message
|
cschaul |
Posted: Fri Nov 08, 2002 11:25 am Post subject: running a GetMQMessage class |
|
|
Novice
Joined: 08 Nov 2002 Posts: 13
|
I am trying to setup an app to read messages of a queue and pass them to another business logic program. Currently I just run a program with a main method that checks for messages every 10 seconds. I would like to develop something that uses the onMessage method. But i dont understand how that method gets called, from MQ receiving a message? Any other suggestions on the best way to read messages off a queue as they are put onto it?
Thanks,
Chris |
|
Back to top |
|
 |
nimconsult |
Posted: Tue Nov 12, 2002 5:24 am Post subject: |
|
|
 Master
Joined: 22 May 2002 Posts: 268 Location: NIMCONSULT - Belgium
|
An alternative solution is to use JASMQ, the Java Application Server for MQ Series.
JASMQ is extremely simple to use, configurable, and only requires J2SE knowledge.
JASMQ handles for you all the logic of connecting to MQ, opening the queue and retrieving messages. Basically all you have to do is implement an "onProcessMessage" method. You can make you application long running by calling the "setWaitIntervalUnlimited()" function on start-up.
You can find it for free in the software repository of this forum:
http://www.mqseries.net/pafiledb203/pafiledb.php?action=viewfile&fid=57&id=8.
The registered full version is also free and can be found on http://www.nimconsult.be.
JASMQ has been tested on MQ W2K, IBM AIX and Sun Solaris, up to now. It has not been tested on OS/390 yet, but this should not be a problem because it is 100% standard java.
The current release of JASMQ is 1.0. No major problem report has been issued yet. JASMQ 1.1 is under preparation and will soon be available. For any question or support send a mail to [url]mailto:info@nimconsult.be[/url]. _________________ Nicolas Maréchal
Senior Architect - Partner
NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be |
|
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
|
|
|
|