Category — nuggets
Another Great ActiveMQ In Action Book Review
December 4, 2009 No Comments
How To Obtain Right ActiveMQ Support
Getting the right ActiveMQ Support is not substantially different from obtaining other services or products, however there several nuances that we want you as a potential customer to be aware of. Most common problem has to do with re-packaged versions of supported flavors of ActiveMQ. [Read more →]
November 11, 2009 Comments Off
Building ActiveMQ Clusters
Building ActiveMQ networks of brokers is a handy way to eliminate the need of making application deal with network outage. If the application lives on the same server or highly reliable network as the broker, then there is no need to implement network based error handling. However often consumers are remote and they also do not want to deal with network connectivity and those consumers may choose to implement their own broker. Connecting brokers then allows brokers to deal with intermittent networks and transmit messages whenever possible while exposing always on interface to local customers.
In his new tutorial @ripienaar covers how how to build ActiveMQ networks of brokers, so check it out.
November 9, 2009 No Comments
Jabber Server in 10 Minutes
You if you have been convinced by a blog entry from yesterday not to use ActiveMQ for building a chat application. Here is tutorial on how to setup a chat server in 10 minutes.
November 8, 2009 No Comments
ActiveMQ vs. Jabber XMPP

Responding to a blog entry by Stephan Schmidt (@codemonkeyism on twitter). Stephan compares the Jabber and ActiveMQ to decide which one suits better his projects needs. While both products fulfill the asynchronous messaging criteria, they have been designed and built for substantially different purposes. Below are some guidelines when to use ActiveMQ or other enterprise messaging products such as JBoss Messaging or WebSphere MQ.
Use Enterprise Messaging if project requires:
- Transactional Support
- Message Persistence and Media Recovery (Transactional Logs)
- Large Messages (4MB+)
- Competing Consumers
- Coded Character Set Conversions
- Clustering
- Blocking (Non-polling wait)
- Storing potentially millions of messages on the queue
- Message Expiration
- Multiple Qualities of Server
- Server-to-Server Channels
- Hierarchical Publish Subscribe Topic Namespace
- FIFO or Priority Queues
Use Jabber or other instant messaging protocol when you’re building a chat application. Yes. It is that simple. Here are good indicators using Jabber might be ok are:
- Messages have no or minimal business value. (They are not business transactions)
- Messages are small
- Transactional support is not necessary
- You need a simple transport(HTTP) that can work across VPN’s, Proxies and Firewalls.
- Messages have no affinity.
- Simple Message Patterns (One-to-one, One-to-many)
November 7, 2009 No Comments
High Performance Object Serialization in ActiveMQ
Hiram Chirino posted on his blog a benchmark results of a ActiveMQ supported protobuf patch that looks substantially faster than existing solutions such as Google’s protobuf and thrift. For more details, you can subscribe to Hiram’s Blog or follow him on twitter @hiramchirino
November 5, 2009 No Comments
Enterprise Messaging With ActiveMQ
This paper was published by James Strachan and provides excellent summary overview of ActiveMQ usage in enterprise middleware.
November 4, 2009 No Comments
ActiveMQ In Action Book Review
This excellent book review provides chapter by chapter summary of the most recent Manning ActiveMQ In Action Book. You can follow the review blogger @jbandi on twitter
November 4, 2009 No Comments
Keeping the ActiveMQ Channels Up

Terry Palmer of cfteeps posted(via @hgz) a configuration on maintaining channels. I would also recommend increasing TCP KeepAlive interval.
November 4, 2009 No Comments
ActiveMQ Cluster Configuration

The reference configuration can be found here Provided configuration uses multicast and allows client to discover available queue managers eliminating single point of failure and allowing consumer or a producer to work with multiple queue managers if necessary. Similar technology is available via JGroups in JBoss Messaging.
November 2, 2009 No Comments
