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