ActiveMQ: How to handle broker failovers while using temporary queues

There is a broker attribute, org.apache.activemq.broker.BrokerService#cacheTempDestinations that should help in the failover: case. Set that to true in xml configuration, and a temp destination will not be removed immediately when a client disconnects. A fast failover: reconnect will be able to producer and/or consume from the temp queue again. There is a timer task based … Read more

what is JMS good for? [closed]

JMS and messaging is really about 2 totally different things. publish and subscribe (sending a message to as many consumers as are interested – a bit like sending an email to a mailing list, the sender does not need to know who is subscribed high performance reliable load balancing (message queues) See more info on … Read more

What design decisions would favour Scala’s Actors instead of JMS?

JMS and Scala actors share a theoretical similarity but don’t think of them as necessarily solving the same problems architecturally. Actors are meant to be a lightweight alternative to shared-memory concurrency where races and deadlocks are generally harder to accidentally create. JMS is a sophisticated API that’s meant to span direct messaging, publish/subscribe, transactions, EJB … Read more

When to use actors instead of messaging solutions such as WebSphere MQ or Tibco Rendezvous?

First off the “older” message systems (MQ) are older in implementation but they are a newer in engineering idea of: transactional persistent queues. Scala Actors and Akka maybe a newer implementation but are built on an older concurrency model of Actors. The two models however end up being very similar in practice because they both … Read more

JMS and AMQP – RabbitMQ

Your question is a bit messy but Let’s see its bits one by one. General concept: The Java Message Service (JMS) API is a Java Message Oriented Middleware (MOM) API for sending messages between two or more clients. JMS is a part of the Java Platform, Enterprise Edition, and is defined by a specification developed … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)