activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vince-el-matador <vincent.boi...@swapstream.net>
Subject Re: OpenWire - asynchronous consumption
Date Tue, 23 May 2006 13:10:52 GMT

U can do like this :

        consumer.Listener += new MessageListener(OnMessage);

with 
    protected void OnMessage(IMessage message)
    {
      ActiveMQTextMessage msg = message as ActiveMQTextMessage;
      // do whatever U like with msg
    }

--
View this message in context: http://www.nabble.com/OpenWire+-+asynchronous+consumption-t1582866.html#a4522723
Sent from the ActiveMQ - Dev forum at Nabble.com.


Mime
View raw message