David,

Thanks. I will try that out.

Can you please point me to a sample if there's one in the distribution or 
somewhere else?

- suvanan

----- Original Message -----
From: David Illsley <[EMAIL PROTECTED]>
To: [email protected] <[email protected]>
Sent: Wed Jul 02 00:33:45 2008
Subject: Re: In-order processing

No... the Ack belongs to the infrastructure, not the application
logic. In a 2-way exchange, you'd get the application response
delivered reliably to the client at the same time as you'd like your
'Client ack'. It's not exactly what you're looking for, but provides a
similar function, and doesn't involve adding additional semantics to
the pre-defined RM messages.
Cheers,
David

On Tue, Jul 1, 2008 at 9:08 PM, Suvanan Dutta <[EMAIL PROTECTED]> wrote:
> David,
>
> So what happens in case of 2-way/in-out mep?
>
> Is it possible to send the ack from the application in that case?
>
> - Suvanan
>
> ----- Original Message -----
> From: David Illsley <[EMAIL PROTECTED]>
> To: [email protected] <[email protected]>
> Sent: Tue Jul 01 02:02:24 2008
> Subject: Re: In-order processing
>
> Not at the moment - it would be a pretty substantial change to the way
> Sandesha2 works, and it's not the way many/most people want to use
> one-way RM. In general, the RM protocol is hidden from the application
> code - application authors generally just want to know that the
> message they sent will be received, or that the message they have
> received isn't a duplicate.
> Can I suggest you use a 2-way operation to get the 'processing
> complete' notification in the application layer?
> Cheers,
> David
>
> On Tue, Jul 1, 2008 at 3:15 AM, Suvanan Dutta <[EMAIL PROTECTED]> wrote:
>> David,
>>
>> Is this feature in the roadmap for Sandesha2? What I am looking for is
>> something like JMS client ack.
>>
>> - Suvanan
>>
>>
>> On 6/30/08 12:34 AM, "David Illsley" <[EMAIL PROTECTED]> wrote:
>>
>> Suvanan,
>> It's an interesting question, but it's not something that we support
>> in Sandesha2.
>>
>> Amila,
>> While that's correct most of the time, the way sandesha2 processes the
>> messages means that the fact that the request message has been
>> received is noted in the store as soon as the message is processed.
>> This means that if there's a failure or an AckRequest before the
>> application has processed the message, it would still be possible to
>> get an ack for an unprocessed message.
>>
>> David
>>
>> On Sun, Jun 29, 2008 at 6:32 AM, Amila Suriarachchi
>> <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>> On Thu, Jun 26, 2008 at 11:55 PM, Suvanan Dutta <[EMAIL PROTECTED]> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I want to notify (from the message receiver in the service provider) the
>>>> InOrderInvoker thread that the application has received the message and
>>>> processed it before the RM-Destination can send the acknowledgement back
>>>> to
>>>> the RM-Source. Is this possible using Sandesha2? If yes, how?
>>>
>>> Could you explain why do you want to do this?
>>>
>>> If you are using In out operations this is possible if you use Anonymous
>>> mode. There the acknowledgement is sent with the response message. So the
>>> sending acknowledgements are delayed until message process.
>>>
>>> thanks,
>>> Amila.
>>>>
>>>>
>>>> TIA,
>>>> - Suvanan
>>>
>>>
>>> --
>>> Amila Suriarachchi,
>>> WSO2 Inc.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to