activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nmittal <nmit...@rblt.com>
Subject SimpleProducer example inherits from Runnable.. curious why?
Date Thu, 30 Apr 2009 20:11:13 GMT

Hi All, in the examples that come with the CMS distribution, I see the
following...
class SimpleProducer: public Runnable

is there a reason why a producer has to inherit from Runnable. The run()
function is called like any other functions.

any insight is appreciated.

thanks
Nishant
-- 
View this message in context: http://www.nabble.com/SimpleProducer-example-inherits-from-Runnable..-curious-why--tp23322600p23322600.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message