camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mario_horny <mario.ho...@dzbank.de>
Subject Re: PAYLOAD access API changed with camel from camel 1.3.x.x => 1.5.1.1 ?
Date Fri, 27 Mar 2009 16:25:33 GMT

Sorry to have wasted your time, guys. The API IS still there and works as
described. Was just a wrong configuration of my eclipse environment :-( !

Best regards,
Mario




William Tam wrote:
> 
> That's strange.  The APIs didn't change (looking at camel-1.5.1-fuse)
> .  The getMessage() method is still there.
> 
> On Fri, Mar 27, 2009 at 11:35 AM, mario_horny <mario.horny@dzbank.de>
> wrote:
>>
>> Hi guys,
>>
>> I'm using camel 1.5.1.1 coming with artix 5.5.
>>
>> I was trying to get back to a code snipped that Willem has provided to me
>> a
>> couple of months ago (back when I was still using artix 5.1 with camel
>> 1.3.x.x) that showed how to access a message in PAYLOAD mode:
>>
>> public void process(Exchange exchange) throws Exception {
>> Message inMessage = exchange.getIn();
>> if(inMessage instanceof CxfMessage) {
>> CxfMessage message = (CxfMessage) inMessage;
>> List<Element> elements = message.getMessage().get(List.class);
>> ....
>> }
>>
>> But it seems that the API has changed in the meanwhile since the
>> getMessage() method on CxfMessage class seems to no longer exist. What's
>> the
>> API for 1.5.1.1 to access the message ?
>>
>> Best regards,
>> Mario
>> --
>> View this message in context:
>> http://www.nabble.com/PAYLOAD-access-API-changed-with-camel-from-camel-1.3.x.x-%3D%3E-1.5.1.1---tp22744147p22744147.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/PAYLOAD-access-API-changed-with-camel-from-camel-1.3.x.x-%3D%3E-1.5.1.1---tp22744147p22745103.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message