Hi Guillaume ,

I too have this requirement but I am not able to understand how to apply
whats mentioned on 
http://servicemix.goopen.org/site/uris.html.

I am currently creating messages like this :
   InOut inout = createInOutExchange(new QName(Constants.MY_NAMESPACE,
Constants.HSERVICE), null, null);
        inout.setProperty(Constants.PROPERTY_CORRELATIONID, id);
       
inout.setProperty("locationURI","http://localhost:8080/ServiceMixTest/MockServlet?KEY1=VALUE1";);
//this did not work

        NormalizedMessage msg = inout.createMessage();
        msg.setContent(new StringSource("<value>TEST</value>"));
        inout.setInMessage(msg);
     send(inout);

I was expecting that I could change the locationURI of the InOut but that is
not working.

Can you explain how I can change the URL that I am setting in the
servicemix.xml ?

Thanks
Pat
--
View this message in context: 
http://www.nabble.com/passing-key-value-pairs-for-posting-into-HttpInvoker-t1786326.html#a4936024
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to