Monday, 3 March 2014

HornetQ Vert.x Integration Available


HornetQ now provides Vert.x connector services that can redirect and persist vert.x messages to HornetQ queues and route those messages to a specified vertx address.
Vert.x is a lightweight, high performance application platform for the JVM that's designed for modern mobile, web, and enterprise
applications. Vert.x provides a distributed event bus that allows messages to be sent across vert.x instances and clients.

There are two kinds of Vert.x connector services, an incoming connector service and an outgoing connector service.

An incoming connector service listens to the Vert.x event bus on a configured address for messages and routes them to a configured HornetQ queue. An outgoing connector
service consumes from a configured HornetQ queue and sends/publishes them to Vert.x event bus on a configured address.

The following diagram illustrates how messages flow from the Vert.x event bus to the HornetQ core queue through an incoming connector, and then from the HornetQ core
queue back to Vert.x event bus through an outgoing connector.


1 Configuring a Vertx Incoming Connector Service


Below is an example for a Vert.x incoming connector service:


<connector-service name="vertx-incoming-connector">
  <factory-class>org.hornetq.integration.vertx.VertxIncomingConnectorServiceFactory</factory-class>
  <param key="host" value="127.0.0.1"/>
  <param key="port" value="0"/>
  <param key="queue" value="jms.queue.vertxQueue"/>
  <param key="vertx-address" value="vertx.in.eventaddress"/>
</connector-service>


Shown are the required params for the connector service:

• queue. The name of the HornetQ queue to send message to.

As well as these required parameters there are the following optional parameters:

• host. The host name on which the vertx target container is running. Default is localhost.
• port. The port number to which the target vertx listens. Default is zero.
• quorum-size. The quorum size of the target vertx instance.
• ha-group. The name of the ha-group of target vertx instance. Default is hornetq.
• vertx-address. The vertx address to listen to. default is org.hornetq.

2 Configuring a Vertx Outgoing Connector Service


Below is an example for a Vert.x outgoing connector service:


<connector-service name="vertx-outgoing-connector">
  <factory-class>org.hornetq.integration.vertx.VertxOutgoingConnectorServiceFactory</factory-class>
  <param key="host" value="127.0.0.1"/>
  <param key="port" value="0"/>
  <param key="queue" value="jms.queue.vertxQueue"/>
  <param key="vertx-address" value="vertx.out.eventaddress"/>
   <param key="publish" value="true"/>
</connector-service>


Shown are the required params for the connector service:

• queue. The name of the HornetQ queue to fetch message from.

As well as these required paramaters there are the following optional parameters:

• host. The host name on which the vertx target container is running. Default is localhost.
• port. The port number to which the target vertx listens. Default is zero.
• quorum-size. The quorum size of the target vertx instance.
• ha-group. The name of the ha-group of target vertx instance. Default is hornetq.
• vertx-address. The vertx address to put messages to. default is org.hornetq.
• publish. How messages is sent to vertx event bus. "true" means using publish style. "false"
means using send style. Default is false.

Wednesday, 21 August 2013

HornetQ 2.4.0.beta1 is released and now has JMS2

The HornetQ team is proud to announce the release of 2.4.0.beta1 which can be downloaded here.

This contains a full implementation of the recent JMS 2 specification which includes new features such as simplified API's, Shared consumers on topic subscriptions and Auto Closeable JMS resources.

There are new examples shipped that show this new functionality, these include a jms auto closeable, jms shared consumer, jms completion listener and a jms context example which can be found in the distribution.

There is also a new JEE example demonstrating the use of an injected JMS context which will be runnable against the next Wildfly release.

This version also supports the AMQP protocol for the first time and comes shipped with 2 examples using the Qpid Proton ruby and java clients.

Thursday, 25 April 2013

HornetQ 2.3.0.Final Released

The HornetQ team is proud to announce the release of HornetQ 2.3.0.Final.

This includes new features such as replication, multiple backups, multiple failover, failback and stomp 1.2 support as well as many other enhancements, fixes and performance tweaks.

Thanks to all the team, Clebert Suconic, Andy Taylor, Francisco Borges, Howard Gao and Justin Bertram as well as Jeff Mesnil for his integration work and all the other contributors.

You can download it from http://www.jboss.org/hornetq/downloads.html

Onwards and upwards to 2.4.

Wednesday, 27 March 2013

HornetQ 2.3.0.CR2 - Pre Final now


This is it! We just release HornetQ 2.3.0.CR2 which we intend to be our last Candidate Release before 2.3.0.Final

We are already in code freeze mode, meaning we are only committing very minor things like release scripts or other minor changes.

This is a big deal for us, we have been working on this release for a while, which mainly includes replication with active sync (meaning you can add a backup to a node and it will copy the live data to the backup side).

Please give it a try, and we will work with anyone who finds an issue before final.

http://www.jboss.org/hornetq/downloads.html

Wednesday, 30 January 2013

HornetQ 2.3.0.CR1


HornetQ 2.3.0.CR1 has just been released

There are several bug fixes on this release and hopefully should be the pre cursor to 2.3.0.Final very shortly.

Replication now seems to be pretty stable, thanks to all who have tested it and help improve it, please let us know your experiences either via the user forum or our IRC channel and we will work hard to get Final out as soon as we can.

Monday, 26 November 2012

HornetQ Beta2 Released


We are really glad to announce our second Beta of HornetQ 2.3.

We are working like crazy to make things happen and we are more than  almost there now. We could fix a few issues on replication, and especially the way things are configured. Really thanks for our users who have helped us achieve this release, that's really helpful. On that front I would like to mention Yong Deng who did an awesome job on raising issues about replication on the Beta.


The current schedule is to release HornetQ 2.3 GA early next year. Any input on how things are going for you with replication and failover with 2.3.Beta2 will be really helpful. Our forums are more than ever open for that collaboration.

This could be the latest Beta already. Things are moving along well, and we are really excited about this progress.

http://www.jboss.org/hornetq/downloads.html

Friday, 5 October 2012

HornetQ is literally buzzing - 2.3.0.Beta Released



This is the first Beta which means we are almost at HornetQ 2.3.0.Final.

We have gone through a long refactoring process which included adding support for maven, adding replication and also the capablity of failing back to live servers.

We are in the process of pushing the new version to the JBoss AS7 master branch so look out for it in the next AS7 release or checkout from Github and give it a spin. 

HornetQ's is already supported through JBoss Enterprise Application and JBoss SOA Platforms. HornetQ 2.3.0 will be available through EAP6.1, and we are really excited about the progress we are doing.

Any feedback will be warmly welcomed.

HornetQ is buzzing, literally, so enjoy the release, video and the music: