Pratibha,

Since you're using a pipeline, you should probably set the header value on the out message the second time, because that's the message that will be forwarded to the PortalService. Could you give that a try?

Gert

pratibhaG wrote:
.setHeader("path", constant("dir"))
.to("jbi:service:http://servicemix.in2m.com/samples/http/MyProviderService?mep=in-out";)
    .setHeader("path", constant("portal"))
.to("jbi:service:http://servicemix.in2m.com/samples/http/PortalService?mep=in-out";);
In this case it does not change It always gives me path= dir

Reply via email to