camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen">
Subject RE: How to process the response in Camel
Date Fri, 07 Nov 2008 12:37:07 GMT

You can not add the exchange pattern in the URI. (only in the JBI component)

I think we need a clean mail. Could you post the entire route and relevant code. It should
really be possible to extract the OUT and return it to the original caller.

PS: In your processor you could also replace the original IN body with the response from the
webservice call. Then you can still use a In-Only pattern. 

Med venlig hilsen
Claus Ibsen
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576

-----Original Message-----
From: GLD [] 
Sent: 7. november 2008 13:31
Subject: RE: How to process the response in Camel

Please have a look at my previous reply, I've updated it : I added the
exchange format in the endpoint uri.
There are no changes.
May be the method ProducerCache.sendExchange() should be modified  : 
    protected E sendExchange(Endpoint<E> endpoint, Producer<E> producer,
Processor processor, E exchange) throws Exception {

        // now lets dispatch
        if (LOG.isDebugEnabled()) {
            LOG.debug(">>>> " + endpoint + " " + exchange);

        >>> GLD : <<< GLD : call defined processor chain in the route up
the <to>  endpoint

       >>> GLD : reply route processing to insert here??????
        return exchange;


Claus Ibsen wrote:
> Hi
> Ah there might miss a method for the multiple headers, 
> Do you mind creating a ticket in the bug tracker for this issue. Then I
> will make sure it's added.
> There is a link to the tracker from here:
I'm off this afternoon.
I will do it next week.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message