Fork me on GitHub

Posté le par Olivier | Lien permanent | Commentaires | Posté dans Uncategorized

Taggé avec:



ActiveMQ est Message Bus open source avec le support complet de JMS 1.1/J2EE 1.4 traitant les messages transient, persistant, transactionnelle et XA.

Pour l'installation, il faut :

% tar zxvf apache-activemq-4.1.0-incubator.tar.gz 
  • Pour lancer ActiveMQ, aller dans le répertoire d'installation et faites :
% bin/activemq > activemq-log.txt  2>&1 & 

Pour voir ce qui se passe :

% tail -f activemq-log.txt

Le fichier activemq-log.txt :

ACTIVEMQ_HOME: /home/bazoud/java/divers/activemq/apache-activemq-4.1.0-incubator
Loading message broker from: xbean:activemq.xml
INFO  BrokerService                  - ActiveMQ 4.1.0-incubator JMS Message Broker (localhost) is starting
INFO  BrokerService                  - For help or more information please see: http://incubator.apache.org/activemq/
INFO  ManagementContext              - JMX consoles can connect to service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
INFO  JDBCPersistenceAdapter         - Database driver recognized: [apache_derby_embedded_jdbc_driver]
INFO  DefaultDatabaseLocker          - Attempting to acquire the exclusive lock to become the Master broker
INFO  DefaultDatabaseLocker          - Becoming the master on dataSource: org.apache.derby.jdbc.EmbeddedDataSource@10ca208
INFO  JournalPersistenceAdapter      - Journal Recovery Started from: Active Journal: using 5 x 20.0 Megs at: /home/bazoud/java/divers/activemq/apache-activemq-4.1.0-incubator/activemq-data/journal
INFO  JournalPersistenceAdapter      - Journal Recovered: 0 message(s) in transactions recovered.
INFO  TransportServerThreadSupport   - Listening for connections at: tcp://bazoud-desktop:61616
INFO  TransportConnector             - Connector openwire Started
INFO  TransportServerThreadSupport   - Listening for connections at: ssl://bazoud-desktop:61617
INFO  TransportConnector             - Connector ssl Started
INFO  TransportServerThreadSupport   - Listening for connections at: stomp://bazoud-desktop:61613
INFO  TransportConnector             - Connector stomp Started
INFO  NetworkConnector               - Network Connector default-nc Started
INFO  BrokerService                  - ActiveMQ JMS Message Broker (localhost, ID:bazoud-desktop-57296-1170513236676-1:0) started
netstat -an|grep 61616
tcp6       0      0 :::61616                :::*                    LISTEN

Il y a bien quelqu'un qui écoute sur le port 61616 :)

A noter que ActiveMQ utilise la base Apache Derby.


Posté le par Olivier | Lien permanent | Commentaires | Posté dans Uncategorized

Taggé avec:




Articles similaires

Installer les sources d''un jar dans Maven
How to create Oracle function (trunc, decode, ...) in H2 ?
Ma migration vers Ubuntu 7.0.4 (Feisty Fawn) - partie II
Ubuntu@Work
Mapper un arbre I

Commentaires

blog comments powered by Disqus