Hi Andrew,
Tested this with a small sample. It is working.

To turn off RM, I used :
clientOptions.setProperty(SandeshaClientConstants.UNRELIABLE_MESSAGE,
Constants.VALUE_TRUE);

To turn on, I used :
clientOptions.setProperty(SandeshaClientConstants.UNRELIABLE_MESSAGE,
Constants.VALUE_FALSE);


/sumedha


On 9/25/07, Andrew Das <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I am writing a Web Application which requires RM to be turned off and on
> depending on the user selection. I am using the
> SandeshaClientConstants.UNRELIABLE_MESSAGE property to disable RM.
> However, when I set the value to TRUE when I want to go back and enable RM
> the option with that property setting does not take affect. Is this a bug or
> do I have to turn RM back on some other way. My service client is configured
> to a  client_axis2.xml that sets the sandesha2 module as a global module.
>
> e.g.
> clientOptions.setProperty(SandeshaClientConstants.UNRELIABLE_MESSAGE,
> Constants.VALUE_FALSE);
>
>
> --
> Regards,
> Andrew Das

Reply via email to