[rabbitmq-discuss] Persisting Data
Tony Garnock-Jones
tonyg at lshift.net
Mon Dec 17 15:16:50 GMT 2007
Hi Varun,
Varun Samuel wrote:
> Sorry, I'm a little new to this mailing list thing. I posted
> previously about durable queues, and I will
> try to make my problem more precise.
Sorry for the delay in responding. I got half-way through replying to
your other mail on Friday and arrived this morning to find an open,
half-full mail composition window :-)
> I create a durable exchange/queue and send the queue persistent
> messages. Then I restart my broker. How would I retrieve
> those messages? I am trying to read the messages with
> channel.basicGet, but they aren't in the queue.
This is very strange - strange enough for me to double-check that the
scenario works for me.
1. create "durable" queue
2. post messages to it with deliveryMode = 2
3. restart broker
4. consume or basicGet from queue
5. messages (should, and do for me) arrive
If that basic scenario isn't working for you, there's something wrong -
perhaps you could email your code to me privately? I'd be happy to cast
an eye over it.
I'll reply to your other email separately - please do feel free to
forward my reply to the mailing list if you feel that's appropriate.
Regards,
Tony
--
[][][] Tony Garnock-Jones | Mob: +44 (0)7905 974 211
[][] LShift Ltd | Tel: +44 (0)20 7729 7060
[] [] http://www.lshift.net/ | Email: tonyg at lshift.net
More information about the rabbitmq-discuss
mailing list