You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by Suvanan Dutta <sd...@tibco.com> on 2008/07/01 04:15:46 UTC

Re: In-order processing

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" <da...@gmail.com> 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
> <am...@gmail.com> wrote:
>> >
>> >
>> > On Thu, Jun 26, 2008 at 11:55 PM, Suvanan Dutta <sd...@tibco.com> 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: sandesha-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: sandesha-dev-help@ws.apache.org
> 
> 



Re: In-order processing

Posted by David Illsley <da...@gmail.com>.
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 <sd...@tibco.com> 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" <da...@gmail.com> 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
> <am...@gmail.com> wrote:
>>
>>
>> On Thu, Jun 26, 2008 at 11:55 PM, Suvanan Dutta <sd...@tibco.com> 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: sandesha-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: sandesha-dev-help@ws.apache.org
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org