If i use ACCEPT_MODE_EXPLICIT then i am getting duplicate entry's that's
the reason i user ACCEPT_MODE_NONE
On Tue, Oct 11, 2011 at 6:10 PM, Gordon Sim <gsim@redhat.com> wrote:
> On 10/11/2011 01:36 PM, surya prakash wrote:
>
>> Hi,
>>
>> i used 2 programs one for sending simple data like "Test and some
>> unique id" and one for receiving.
>> when receiving i used
>> SubscriptionSettings
>> SubsSetting(FlowControl::**unlimited(),ACCEPT_MODE_NONE,**
>> ACQUIRE_MODE_PRE_ACQUIRED,1,**COMPLETE_ON_ACCEPT);
>>
>
> ACCEPT_MODE_NONE means messages are not acknowledged but are assumed
> delivered as soon as the broker sends them out. This is inherently
> unreliable and will result in any in-flight messages being lost in the event
> of a crash.
>
>
> ------------------------------**------------------------------**---------
> Apache Qpid - AMQP Messaging Implementation
> Project: http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.**apache.org<users-subscribe@qpid.apache.org>
>
>
--
**
*Thanks and Regards,*
*A.SURYA PRAKASH REDDY*
***Ph.No:+91 7676724614*
|