You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by sfia <js...@163.com> on 2006/06/06 15:13:56 UTC

OpenwireCpp: receive message bug

The sample TestSynchQueue of  OpenwireCPP crashes when I comment 
the statement 
producer->send(reqMessage) ;

The snippet code is shown as below.
    ......
    (*props)["someHeader"] = MapItemHolder( "James" ) ;

    // Send message
    //producer->send(reqMessage) ;  // I add comment here and run this
sample, 
                                                   // it crashes.

    // Receive and wait for a message
    rspMessage = p_dyncast<ITextMessage> (consumer->receive()) ;
    ......
--
View this message in context: http://www.nabble.com/OpenwireCpp%3A-receive-message-bug-t1741695.html#a4733015
Sent from the ActiveMQ - User forum at Nabble.com.