Hi Remsy
How do I set a property called "ID" in a message context so that I can read it from a proxy outside its environment ? For example, I have this java code, part of a custom database write mediator:

mc.setProperty("id", id ); if I tried to get it in another mediator inside my local environment, I can get it like this:

 int id = (Integer) mc.getProperty("id");

now, i need to call a remote proxy, so it throws errros because it doesn't exist (mc properties can be retrieved locally).

How can I achieve this ? by tinkering the soap message itself ?

MC properties will not propagate with a message.. what you should use are SOAP headers (if the message is SOAP) or transport headers

asankha
_______________________________________________
Esb-java-user mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to