Re: Create connection factory even when broker is down

2018-12-18 Thread BlueSpirit
Sorry for the late reply. If I remove 'maxReconnectAttempts', the receiver will never be able to reconnect to the server if its restarted. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Create connection factory even when broker is down

2018-12-16 Thread BlueSpirit
you get the expected behavior? > > Tim > > On Fri, Dec 14, 2018, 7:09 AM Timothy Bish < > tabish121@ > wrote: > > > On 12/14/18 4:54 AM, BlueSpirit wrote: >> > TL;DR >> > I would like to instantiate the connection factory even when the broker &

Create connection factory even when broker is down

2018-12-14 Thread BlueSpirit
TL;DR I would like to instantiate the connection factory even when the broker is down. How should I achieve this? I am creating a ActiveMQConnectionFactory using the following URL: failover:(tcp://localhost:61616)?jms.warnAboutUnstartedConnectionTimeout=3&initialReconnectDelay=2000&maxReconnec

How does activemq push records to prefetch buffer at receiver end

2018-11-21 Thread BlueSpirit
Extremely basic setup to raise my questions: 1. I have a queue based setup with a single producer and a single consumer. 2. Connections are made through a JMS client on both ends. 3. Default configurations overall. 4. For the receiving side I have an implementation of Listener where I ingest messag