ArticleslgStudy

science

HornetQ

HornetQ is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand HornetQ rather than just read about it. In short: HornetQ is an open-source asynchronous messaging project from JBoss. It is an example of Message-oriented middleware.

Key takeaways

  • HornetQ belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect HornetQ to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of HornetQ from memory before moving on to harder problems.

Reference excerpt

HornetQ is an open-source asynchronous messaging project from JBoss. It is an example of Message-oriented middleware. HornetQ is an open source project to build a multi-protocol, embeddable, very high performance, clustered, asynchronous messaging system. During much of its development, the HornetQ code base was developed under the name JBoss Messaging 2.0.

History Tim Fox started work on HornetQ in 2007 as JBoss Messaging 2.0. After 2 years of effort, Fox realised the original JBoss Messaging codebase had been almost completely rewritten and it was decided to release it under a different name. Fox came up with the name "HornetQ". On 24 Aug 2009 HornetQ 1.0 was launched. In September 2010 Fox released the results of a set of benchmarks comparing HornetQ performance with other popular messaging systems. Fox led the project until October 2010, when he stepped down as project lead to pursue other projects.

HornetQ Apache donation and Apache Artemis 1.0.0 release On Monday, 1 June 2015, the HornetQ code base was donated to the Apache ActiveMQ community in late 2014 and now resides as a sub project under the ActiveMQ umbrella named Apache ActiveMQ Artemis. Since the code donation, the developers have been working tirelessly to get an initial release of Artemis out the door; to allow folks to give it a whirl and to finalise the donation process. With the release of Apache Artemis 1.0.0, that process has come to a close and the code donation has now been completed. The active developer community has migrated across to Artemis; some developers that were active on HornetQ are now committers to the Artemis project, working on the code base as part of the ActiveMQ umbrella. The goal is for the union of the two communities of HornetQ and ActiveMQ to provide a path for a next generation of message broker. The community hopes to achieve the goal. The Artemis project is targeted to house this next generation of message broker, as such any new feature requests or contributions from the HornetQ community should now be placed into the Artemis stream of development. HornetQ will be mostly in maintenance only mode, aside of fixing bugs of its active branches (2.3 and 2.4). The HornetQ could easily migrate to Artemis 1.0.0 as Artemis is already compatible with HornetQ clients; it supports a number of other protocols such as AMQP, Stomp, ActiveMQ's native messaging protocol 'OpenWire' (at Alpha with support for ActiveMQ JMS clients and basic transport) and also JMS 2. In addition the team started development on support for MQTT.

Features It has the following relevant features:

Supports STOMP and now AMQP 1.0 protocols for cross-language clients 100% JMS compliant 8.2 Million Messages per second with SpecJMS AIO (over Linux)/NIO (over any OS) based high performance journal. Clustering for scalability and reliability Supports Master/Slave architecture for fault tolerance Supports discovery groups for dynamic node clusters Core Bridges to connect to other HornetQ servers (over unreliable WAN links) JMS Bridges to connect to other JMS compatible servers Diverts to reroute traffic without modifying application code Paging to support messages whose size exceeds the available RAM Large message support to enable file messaging XA and JTA transaction support Application Server integration using the JCA standard (allows MDBs too) High performance Netty NIO connector over TCP, SSL and Servlet modes (for messaging between firewalls) JMX based management Last Value Queues (for protocols that support these) Filters and wildcard support Security features integrated with JAAS Simple XML configuration

References

External links Simple client for HornetQ by Jruby SPECjms2007 results

Worked examples

Example 1 — a first encounter with HornetQ

Start with the simplest possible case. Write down what HornetQ claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to HornetQ before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about HornetQ ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of HornetQ

In research
HornetQ appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses HornetQ in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
HornetQ is common in secondary-school and first-year university syllabi. It links to neighbouring topics Message-oriented middleware, so understanding it makes those chapters shorter.
In everyday life
Look for HornetQ outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “HornetQ” →

How to study HornetQ in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what HornetQ means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain HornetQ out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is HornetQ in simple terms?

HornetQ is an open-source asynchronous messaging project from JBoss. It is an example of Message-oriented middleware.

Why does HornetQ matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study HornetQ?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on HornetQ.

Tags

  • Message-oriented middleware

Keep exploring