ACKs only work if sent on the connection where the message was received from.
On Mon, Aug 5, 2013 at 1:40 AM, Namrata Patel <namrata.pa...@synergytechservices.com> wrote: > Yes. > I did send an ACK :-), but not from the same connection. I had to create a > new connection and send ACK using message data read previously. > > FuseSource\Stomp\Frame Object > ( > [command] => ACK > [headers] => Array > ( > [message-id] => mybroker-54c1 > [id] => 2 > [subscription] => testQ > ) > > [body] => > ) > > This is what the frame look like. I also verified that the message-id and > id are correct. > > Thanks. > > > > On Mon, Aug 5, 2013 at 10:55 AM, Claudio Corsi <clco...@yahoo.com> wrote: > >> Did you ack that you received the message? >> You've set your ack condition to be perform by the client which require >> that you acknowledge that you've received the message. >> >> >> >> >________________________________ >> > From: Namrata Patel <namrata.pa...@synergytechservices.com> >> >To: users@activemq.apache.org >> >Sent: Sunday, August 4, 2013 12:01 PM >> >Subject: Some issue with Apollo MQ ACK where message does not get deleted. >> > >> > >> > >> >Hello, >> >I am using Apollo 1.6 and stomp 1.2. I was trying to update the >> FuseSource php stomp lib for 1.2, and am stuck with this scenario. >> > >> >1) Connect to Apollo >> >2) Subscribe to "testQ" using ack=client-individual >> >3) Read message $msg >> >4) Disconnect >> >//-- Some processing with this message, if processing was success >> >5) Open a new connection to Apollo >> >6) Subscribe to "testQ" using ack=client-individual >> >7) ACK the $msg from above using just the "id", "message-id", "ack" >> headers. >> >(Attached stomp commands log) >> >The result frame is correct, but the message won't get deleted from >> Apollo. Is there something wrong with the way i am doing it? >> >Do let me know if you require any additional info. >> > >> >Thanks. >> >Namrata Patel >> > >> >Disclaimer: The information contained in this >> electronic message and any attachments to this message are intended for the >> exclusive use of the addressee(s) and may contain confidential or >> privileged >> information. If you are not the intended >> recipient or have received this email in error you are notified that >> disclosing, copying, distributing or taking any action in reliance on the >> contents of this information is strictly prohibited. >> > >> > > > > > > -- > > *Namrata Patel** *| Software Engineer > Synergy Technology Services > > t+91-22-407-51999 | f +91-22-2925-1003 | m +91-9967585155 > *namrata.pa...@synergytechservices.com*<namrata.pa...@synergytechservices.com>| > www.synergytechservices.com <http://synergytechservices.com/> > > 701 Acropolis, Military Road, Marol, Andheri (East), Mumbai - 400 059 > > -- > > > *Disclaimer: The information contained in this electronic message and any > attachments to this message are intended for the exclusive use of the > addressee(s) and may contain confidential or privileged information. If > you are not the intended recipient or have received this email in error you > are notified that disclosing, copying, distributing or taking any action in > reliance on the contents of this information is strictly prohibited.* -- Hiram Chirino Engineering | Red Hat, Inc. hchir...@redhat.com | fusesource.com | redhat.com skype: hiramchirino | twitter: @hiramchirino blog: Hiram Chirino's Bit Mojo