camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gert Vanthienen <gert.vanthie...@skynet.be>
Subject Re: How to catch errors locally on the path
Date Fri, 11 Jul 2008 13:21:23 GMT
Prathiba,

Sure, why not?  If there already is a value for that key, you'll just 
replace it with the new one...

Regards,

Gert

pratibhaG wrote:
> if I do it like this:
> exception(java.net.SocketException.class)
>     
> .maximumRedeliveries(2).useExponentialBackOff().initialRedeliveryDelay(30000).backOffMultiplier(2.0)
>     
> .to("jbi:service:http://servicemix.in2m.com/samples/http/bean15Service");
>     	from("jbi:service:http://servicemix.in2m.com/samples/http/jmsConsumer")
>     	.setHeader("path", constant("dir"))
>        
> .to("jbi:service:http://servicemix.in2m.com/samples/http/MyProviderService?mep=in-out")
>     	.setHeader("portal", constant("portal"))
>        
> .to("jbi:service:http://servicemix.in2m.com/samples/http/PortalService?mep=in-out");
>
> I get both headers in bean15Service? Cant I have same header name but value
> different?
>
> Pratibha
>   


Mime
View raw message