Ok, I will take a look and get back to you as soon as I can. ----------------------------------------- Timothy A. Bish Sensis Corporation -----------------------------------------
> -----Original Message----- > From: Arshad Ahamad [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 26, 2006 7:56 AM > To: [EMAIL PROTECTED]; [email protected] > Subject: Re: Problem in openwire-cpp API for messages > > Hi, > > code for create the text message > > p<IQueue> queue, queue1 ; > p<ITextMessage> message; > char Replay[300] // contains more then 252 char > queue = session->getQueue("FOO.BAR") ; > producer = session->createProducer(queue) ; > consumer = session->createConsumer(queue) ; > consumer->setMessageListener( smartify(this) ) ; > message = session->createTextMessage(Replay); > producer->send(message) ; > > > > > > I am working on openwire-cpp ( for ActiveMQ-4.0) code on SuSe(Linux > > machine->i686-suse-linux, version 2.6.13-15.8-default), > > > > I am not able to ceate a message which have more than 252 char by using > > > > message = session->createTextMessage("Message,moreThan252Char"); API > > > > how I will achieve it, because I want to send the data more than 252 > char. > > is there any other procesure to create a message? Pls assist me > > > > Thanks in advance > > > > > > Regards > > Arashad Ahamad
