You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ltomuno <lt...@163.com> on 2011/06/03 10:30:07 UTC
What is the meaning of payload in camel?
data?
content?
thanks
Re: What is the meaning of payload in camel?
Posted by David Karlsen <da...@gmail.com>.
Yup - that would be the inbout message payload.
2011/6/3 Hadrian Zbarcea <hz...@gmail.com>
> Thanks David,
>
> In code that means Exchange.getIn().getBody();
>
> Hadrian
>
> On Jun 3, 2011, at 2:27 PM, David Karlsen wrote:
>
> > Yes - it is the main data/contents of a message (exchange).
> > An exchange contains the data plus headers. The headers are usually used
> to
> > control sending through an endpoint - but is not part of the data sent.
> >
> > 2011/6/3 ltomuno <lt...@163.com>
> >
> >> data?
> >> content?
> >> thanks
> >
> >
> >
> >
> > --
> > --
> > David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
>
>
--
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
Re: What is the meaning of payload in camel?
Posted by Hadrian Zbarcea <hz...@gmail.com>.
Thanks David,
In code that means Exchange.getIn().getBody();
Hadrian
On Jun 3, 2011, at 2:27 PM, David Karlsen wrote:
> Yes - it is the main data/contents of a message (exchange).
> An exchange contains the data plus headers. The headers are usually used to
> control sending through an endpoint - but is not part of the data sent.
>
> 2011/6/3 ltomuno <lt...@163.com>
>
>> data?
>> content?
>> thanks
>
>
>
>
> --
> --
> David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
Re: What is the meaning of payload in camel?
Posted by David Karlsen <da...@gmail.com>.
Yes - it is the main data/contents of a message (exchange).
An exchange contains the data plus headers. The headers are usually used to
control sending through an endpoint - but is not part of the data sent.
2011/6/3 ltomuno <lt...@163.com>
> data?
> content?
> thanks
--
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen