Re: Regular and intermittent interrupt/resume between broker and client connector

2018-07-11 Thread Arthur Naseef
Re-reading through my email backlog, I noticed this. ActiveMQ already provides that type of persistence and guarantee of delivery. Any additional implementation seems redundant - unless there are some mitigating factors. Art On Fri, Jun 1, 2018 at 3:24 AM, gerardl wrote: > Thanks Art. Some

Re: Regular and intermittent interrupt/resume between broker and client connector

2018-06-01 Thread gerardl
Thanks Art. Some good feedback. The guaranteed delivery is important, so I'm going to need to implement an extension to support local storage of unsent messages so they can be redelivered when a resume has been detected. -- Sent from:

Re: Regular and intermittent interrupt/resume between broker and client connector

2018-05-31 Thread Arthur Naseef
Sounds like that is getting into details that JMS intends to handle. At some level, every application is going to need to chose between the possibility of duplicating a message, or losing a message. There is no way to 100% avoid both cases at the same time. With that said, ActiveMQ has

Re: Regular and intermittent interrupt/resume between broker and client connector

2018-05-31 Thread gerardl
Hi, I have implemented the failover transport and TransportListener interface. So, the transport listener receives the interrupt/resume and sets an internal flag in the connector itself, lets call it connectionActive. When a message gets dequeued for sending by the connector, I take an optimistic

Re: Regular and intermittent interrupt/resume between broker and client connector

2018-05-30 Thread Arthur Naseef
My recommendation is to use the Failover transport and the TransportListener interface. To use the failover transport, just use the following syntax for the broker url: failover://(*_original_broker_url_*) For example, with a broker at localhost:61616, failover://(tcp://localhost:61616),