activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bish, Tim" <Tim.B...@Sensis.com>
Subject RE: Problem in openwire-cpp API for messages
Date Wed, 26 Jul 2006 12:01:49 GMT
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:arshad@in.effectsoft.com]
> Sent: Wednesday, July 26, 2006 7:56 AM
> To: user@activemq.codehaus.org; activemq-dev@geronimo.apache.org
> 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

Mime
View raw message