Re: Producer Acknowledge in NMS ?

2009-05-27 Thread mvhoof
g the failover protocol and then try to send the message only if a >> connection can be made right ? > > When you send a message when using the Failover transport the Message > will be sent if the client is currently disconnected and later > reconnects or if the connection is lost mid send. If the blocking > nature of the send call is unacceptable then you could of course > relegate your sends to a separate thread. Depends on the problem you > are trying to solve. > > Regards > Tim. > > > -- > Tim Bish > http://fusesource.com > http://timbish.blogspot.com/ > > > > > Unfortunalty.. my problem is mainly situated between the keyboard and a chair, being a user that could reboots it's "producer" any time so i would need local caching and/or checking -- View this message in context: http://www.nabble.com/Producer-Acknowledge-in-NMS---tp23739749p23744724.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Producer Acknowledge in NMS ?

2009-05-27 Thread Timothy Bish
On Wed, 2009-05-27 at 08:06 -0700, mvhoof wrote: > > > Timothy Bish wrote: > > > > On Wed, 2009-05-27 at 03:20 -0700, mvhoof wrote: > >> Hi, > >> > >> I have a requirement to built a message queue Consumer/producer which > >> works > >> on flaky connections. Now this consumer/producer could be

Re: Producer Acknowledge in NMS ?

2009-05-27 Thread mvhoof
Tim Bish > http://fusesource.com > http://timbish.blogspot.com/ > > > > > Hmm.. ok.. thanks for the answer. So i can only try to mimic this by controlling the connection myself instead of using the failover protocol and then try to send the message only if a connection can be made right ? -- View this message in context: http://www.nabble.com/Producer-Acknowledge-in-NMS---tp23739749p2370.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Producer Acknowledge in NMS ?

2009-05-27 Thread Timothy Bish
On Wed, 2009-05-27 at 03:20 -0700, mvhoof wrote: > Hi, > > I have a requirement to built a message queue Consumer/producer which works > on flaky connections. Now this consumer/producer could be rebooted at all > times (we have no control over this). So my challenge is this: > > > Simply sending

Producer Acknowledge in NMS ?

2009-05-27 Thread mvhoof
S (we are using the failover protocol) so i can retry sending the chached messages as soon as connection is up again ? Many thanks in advance ! -- View this message in context: http://www.nabble.com/Producer-Acknowledge-in-NMS---tp23739749p23739749.html Sent from the ActiveMQ - User mailing list ar