Posts

Showing posts with the label messaging

Resource Adapter do ActiveMQ para JBoss

Image
Neste post vou mostrar como trabalhar com JMS dentro do JBoss AS mas usando o ActiveMQ , para tal tarefa é necessário um Resource Adapter . O JBoss AS 5 tem como provider de messageria padrão o JBoss Messaging , vou mostrar como se configura o servidor de aplicação para acessar o broker de messageria de Apache o ActiveMQ. Para isso vamos utilizar as seguintes versões dos softwares: JDK 6 update 20 JBoss AS jboss-5.1.0.GA Apache ActiveMQ 5.3.2 Uma vez que você tenha baixadoos 3 podemos proceguir. Extraia o ActiveMQ em algum diretório de sua máquina e criei um variável de ambiente apontando para o local da instalação, esta variavel deve se chamar $ACTIVEMQ_HOME , você deve fazer o mesmo procedimento para o JBoss AS mas a váriavel de ambiente deve se chamar $JBOSS_HOME . Estou assumindo que você já instalou o JDK 6 do java e criou a váriavél de ambiente para o $JAVA_HOME . Instalando o Resource Adapter no JBossAS Vá para o diretório $ACVTIVEMQ_HOME/lib/optional e procure ...

JBoss HornetQ component for Apache Camel (English Version)

In a previous post i wrote about the Apache Camel project. Camel is an excellent solution for system integration. Recently JBoss launched their new product, the new generation of messaging system: HornetQ which i have posted about it . In this post i came to show a very simple component for the integration of Apache Camel with JBoss HornetQ. This is the very first version of the component and i will improve incrementally. This version is still beta, has some limitations but you'll be able to work with the Camel URI using my component to access the queues and topics of HornetQ. Download and Usage You can download the source code from my Subversion repository: http://diegopacheco.svn.beanstalkapp.com/sandbox/trunk/community/hornetq-camel-component once you have downloaded you must install the component using the Apache Maven. Just type in the command line (in the root folder of the project) the following command: $ mvn clean install Then you're ready to use the compon...