connection « activemq « Java Enterprise Q&A





1. How do I take advantage of Connection Pooling with Apache Active MQ?    stackoverflow.com

I'd like to know how to properly use connection pooling with Active MQ. Currently I have a Connection Factory that creates a new connection every time I want to send a message. I'd ...

2. ActiveMQ Advisory Topics for Connections not forwarded in network of brokers?    stackoverflow.com

I'm working on an application where we want to monitor logon/logoff of clients. Since ActiveMQ contains Advisory Topics that alert you of new connections and removal of connections, the idea was ...

3. ActiveMQ forwarding from local broker to a remote broker [with unstable connection]    stackoverflow.com

I have the following problem: I have several sites with a local ActiveMQ broker that forwards to a remote broker (in a datacenter). This connection is often unstable, and goes ...

4. Restart server without losing JMS connection    stackoverflow.com

I have two app servers. One sends messages to the other using JMS. The sender runs on Tomcat, with ActiveMQ used inside a Spring Framework template method call. ...

5. How to make one ActiveMQ connection pool?    stackoverflow.com

How to make one ActiveMQ connection pool ?

6. What is the best connection URI for ActiveMQ if I want to Fail Fast?    stackoverflow.com

I'm using ActiveMQ in Java to log incoming analytics beacons. Ideally if the queue goes down or gets locked up I'd like to fail as fast as possible, log the beacon ...

7. ActiveMQCPP connection.start() hangs up    stackoverflow.com

I'm using ActiveMQ CPP 5.2.3 if it matters. I have JMS producer that connects using failover transport to JMS network of brokers. When I call connection->start() it hangs up (see AMQ-2114). If ...

8. How to force ActiveMQ connection to choose a broker for a new consumer randomly?    stackoverflow.com

I use the following url to create ActiveMQConnactionFactory:

failover:(tcp://server1:port,tcp://server2:port,tcp://server2:port)
What I want to do is to create multiple message consumers from this network of brokers. The following is not a real code, but it ...

9. Force renewal of sessions/consumers underlying connections    stackoverflow.com

Because of weird network problems (tcp connections becoming "stale" without being closed explicitly after a few days), I need to make sure that the connections used by my consumers are recreated ...





10. ActiveMQ connections timing out    stackoverflow.com

I'm using ActiveMQ with Python (pyactivemq) and all of my connections are timing out:

pyactivemq.CMSException: OpenWireFormatNegotiator::requestWire format negotiation timeout: peer did not send his wire format.
       ...

11. org.springframework.jms.listener.DefaultMessageListenerContainer - Could not refresh JMS Connection for destination 'queue://platform-receive'    stackoverflow.com

Eclipse console writing following warning log, while running an spring application on Tomcat 6.20. with Java 1.6 2011-06-15 00:16:02,515 20650176 [jmsContainerPlatformReceive-1] WARN org.springframework.jms.listener.DefaultMessageListenerContainer - Could not refresh JMS Connection for ...

12. How do I kill "ActiveMQ Transport" threads after interrupting JMS MessageConsumer.receive()    stackoverflow.com

I have a class that acquires an ActiveMQ connection using ActiveMQConnectionFactory.createConnection(). It then creates and owns the session, the destination and the consumer (queue) listening on that destination. I call receive() or receive(millis) ...

13. javax.jms.InvalidDestinationException: Cannot use a Temporary destination from another Connection    stackoverflow.com

I have a producer which connects to ActiveMQ broker to send me messages to the client.

  1. Since it expects some response from the client, it first creates a temp queue and associates ...

14. How to find out the total number of connections to an Activemq broker?    stackoverflow.com

I'm using ActiveMQ 5.3.2. My app is a distributed system that creates lots of connections to the AMQ broker. Right now, my app occasionally runs into issues such as the producer ...

15. HermesJMS connects to ActiveMQ Connections without username and password    stackoverflow.com

I have a created a ActiveMQConnectionFactory with the following properties: brokerUrl=tcp://localhost:xxxxx username='testx' password='testy' When I tried to connect the connections created using the ...

16. JmsTemplate does not close connections even with PooledConnectionFactory    stackoverflow.com

We use AMQ broker 5.5 and Spring 3.0 for configuring connection factory and other stuffs. The connection factory we are using is PooledConnectionFactory and a part of my config looks like ...