Thanks for your response.
I'd imagine the ffg will be set as
alwaysSessionAsync=false
alwaysSyncSend=true
useAsyncSend=false
is this correct (to achieve the scenario)?
iocanel wrote:
>
>
> lekkie wrote:
>>
>> I have this scenario where I 'd like to keep a message in the queue until
>> the flow in my route has returned.
>>
>> See explanation below:
>>
>> <route>
>> <from uri="jms:${queue}"/>
>> <to uri="nmr:Webservice"/>
>> </route>
>>
>> I'd like to finish processing <to uri="nmr:Webservice"/> - which means
>> the message is successfully sent to nmr:Webservice - before an ack is
>> sent to my message broker (jms:${queue}).
>>
>> What acknowledgement mode will ensure an ack is only sent after camel
>> application returns from the <to uri="nmr:Webservice"/> call?
>>
>> In the case of an exception, I believe an ack will not be sent to the
>> broker. Is my assumption correct?
>>
>> kr.
>>
>
> AUTO_ACKNOWLEDGE which is the default and TRANSACTED will work for you.
>
--
View this message in context:
http://old.nabble.com/Message-Acknowledgement---Persistence-in-Camel-Application-tp28240625p28241157.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.