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 » IBM MQ Java / JMS » running a GetMQMessage class

Post new topic  Reply to topic
 running a GetMQMessage class « View previous topic :: View next topic » 
Author Message
cschaul
PostPosted: Fri Nov 08, 2002 11:25 am    Post subject: running a GetMQMessage class Reply with quote

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
View user's profile Send private message
nimconsult
PostPosted: Tue Nov 12, 2002 5:24 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » running a GetMQMessage class
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.