You grab all properties from the incoming exchange and set it to the
outgoing exchange(which one you create) which should get exactly this
property. There might be a copy method or something but I can't remember
at the moment. Maybe gnodet knows it. :-)

yourcomponent-> gets exchange from http consumer
yourcomponent-> creates a new excahnge to the provider
yourcomponent -> copy all porperties

That's it I guess.

Thomas

JanReynaerts wrote:
> Is this something that has to be done in the POJO? The only object that's
> available there, is the message, that I received from the http consumer
> component. It is in one way or another generated by XFIRE, so i can access
> every element of the message seperately. But there's no function available
> to copy the exchange properties. Or can I do this in an xbean.xml?
> Regards, Jan Reynaerts 
>  
> 
> tterm wrote:
> 
>>Again not sure but did you forget to copy the exchange properties?
>>
>>Thomas
>>
>>JanReynaerts wrote:
>>
>>>Thanks, setting this parameter works, although I also had to set the
>>>parameter "wantHeadersFromHttpIntoExchange=true" in the file
>>>component.properties of servicemix.
>>>
>>>However, when I put a POJO of JSR181 between the 2 http components, it
>>>still
>>>gives the same error. In this POJO, I pass the message comming from the
>>>http
>>>consumer component to a proxy. This proxy is the  http provider
>>>component.
>>>
>>>Any ideas how to tackle this problem? A bypass could be to defaultly set
>>>the
>>>CONTENT-TYPE to "UTF-8", but I don't know if this is possible either.
>>>
>>>Regards,
>>>Jan Reynaerts
>>>
>>>
>>
>>
>>-- 
>>Thomas Termin
>>_______________________________
>>blue elephant systems GmbH
>>Wollgrasweg 49
>>D-70599 Stuttgart
>>
>>Tel    :  (+49) 0711 - 45 10 17 676
>>Fax    :  (+49) 0711 - 45 10 17 573
>>WWW    :  http://www.blue-elephant-systems.com
>>Email  :  [EMAIL PROTECTED]
>>
>>blue elephant systems GmbH
>>Firmensitz      : Wollgrasweg 49, D-70599 Stuttgart
>>Registergericht : Amtsgericht Stuttgart, HRB 24106
>>Geschäftsführer : Holger Dietrich, Thomas Gentsch, Joachim Hoernle
>>
>>
>>
> 
> 


-- 
Thomas Termin
_______________________________
blue elephant systems GmbH
Wollgrasweg 49
D-70599 Stuttgart

Tel    :  (+49) 0711 - 45 10 17 676
Fax    :  (+49) 0711 - 45 10 17 573
WWW    :  http://www.blue-elephant-systems.com
Email  :  [EMAIL PROTECTED]

blue elephant systems GmbH
Firmensitz      : Wollgrasweg 49, D-70599 Stuttgart
Registergericht : Amtsgericht Stuttgart, HRB 24106
Geschäftsführer : Holger Dietrich, Thomas Gentsch, Joachim Hoernle

Reply via email to