qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From meh...@cs.man.ac.uk
Subject Re: Schema Request
Date Thu, 10 Jul 2008 07:46:01 GMT
Thank you Ted and Rajith,

It works now.

BR,
Rahul

On Jul 9 2008, Rajith Attapattu wrote:

> >
> >   session.messageTransfer
> >   session.data
> >   session.endData
> >
> > In your code, the messageTransfer call is outside and before the loop.
> >  This means that the second time you try to transmit, you are calling
> > session.data without having called session.messageTransfer first.  The
> > session is in the incorrect state for a data call, thus the exception.
> 
> 
> It should be
> session.messageTransfer
> session.headers
> session.data
> session.endData
> 
> Regards,
> 
> Rajith
> 

Mime
View raw message