Questions tagged [activemq]

Apache ActiveMQ is an open source (Apache 2.0 licensed) message broker which fully implements the Java Message Service 1.1 (JMS). It provides "Enterprise Features" like clustering, multiple message stores, and ability to use any database as a JMS persistence provider besides VM, cache, and journal persistency.

Apache ActiveMQ is an open source (Apache 2.0 licensed) message broker which fully implements the Java Message Service 1.1 (JMS). It provides Enterprise Features like clustering, multiple message stores, and ability to use any database as a JMS persistence provider besides VM, cache, and journal persistency.

Apart from Java, ActiveMQ can also be used from .NET, C/C++ or Delphi or from scripting languages like Perl, Python, PHP and Ruby via various "Cross Language Clients" together with connecting to many protocols and platforms. These include several standard wire-level protocols, plus their own protocol called OpenWire.

ActiveMQ is used in enterprise service bus implementations such as Apache ServiceMix, Apache Camel, and Mule.

ActiveMQ is often used with Apache ServiceMix, Apache Camel and Apache CXF in SOA infrastructure projects.

Coinciding with the release of Apache ActiveMQ 5.3, the world's first results for the SPECjms2007 industry standard benchmark were announced. Four results were submitted to the SPEC and accepted for publication. The results cover different topologies to analyze the scalability of Apache ActiveMQ in two dimensions. Quoted from: http://en.wikipedia.org/wiki/Apache_ActiveMQ

Features:

  • Supports a variety of Cross Language Clients and Protocols from Java, C, C++, C#, Ruby, Perl, Python, PHP
    • OpenWire for high performance clients in Java, C, C++, C#
    • Stomp support so that clients can be written easily in C, Ruby, Perl, Python, PHP, ActionScript/Flash, Smalltalk, Bash to talk to ActiveMQ as well as any other popular Message Broker
  • Full support for the Enterprise Integration Patterns both in the JMS client and the Message Broker
  • Supports many advanced features such as Message Groups, Virtual Destinations, Wildcards and Composite Destinations
  • Fully supports JMS 1.1 and J2EE 1.4 with support for transient, persistent, transactional and XA messaging
  • Spring Support so that ActiveMQ can be easily embedded into Spring applications and configured using Spring's XML configuration mechanism
  • Tested inside popular J2EE servers such as TomEE, Geronimo, JBoss, GlassFish and WebLogic
    • Includes JCA 1.5 resource adaptors for inbound & outbound messaging so that ActiveMQ should auto-deploy in any J2EE 1.4 compliant server
  • Supports pluggable transport protocols such as in-VM, TCP, SSL, NIO, UDP, multicast, JGroups and JXTA transports
  • Supports very fast persistence using JDBC along with a high performance journal
  • Designed for high performance clustering, client-server, peer based communication
  • REST API to provide technology agnostic and language neutral web based API to messaging
  • Ajax to support web streaming support to web browsers using pure DHTML, allowing web browsers to be part of the messaging fabric
  • CXF and Axis Support so that ActiveMQ can be easily dropped into either of these web service stacks to provide reliable messaging
  • Can be used as an in memory JMS provider, ideal for unit testing JMS

Supported Languages: , , , , , , , , , , , ,

Supported Protocols: , , , , ,

Official Website: http://activemq.apache.org/

Useful Links:

5880 questions
11
votes
3 answers

Check the status of an ActiveMQ broker

I want to create a java class , which has the sole purpose of checking the status of an ActiveMQ broker (or connectivity to an ActiveMQ broker as an outage may be defined as the client losing network connectivity as well). so basically there would…
Neeraj
  • 8,408
  • 8
  • 41
  • 69
11
votes
1 answer

JMS Topic vs Selector

JMS Topic and JMS Selector are quite different concept, yet they both can be used by a consumer to get only a subset of the messages. in a PubSub scenario, what are the pro’s and con`s of filtering messages using: Option 1) Publishing everything…
Aerosteak
  • 987
  • 1
  • 11
  • 21
11
votes
7 answers

How to Install ActiveMQ server in MAC OS system?

How can I install ActiveMQ Server in MAC OS X? Is there anyway to get its installation source for MAC OS? Here are some of source files, for installation but not for MAC OS. http://activemq.apache.org/activemq-5144-release.html Here is same…
11
votes
1 answer

Writing tests to verify received msg in jms listener (Spring-Boot)

I want to write test for something like below; There is a listener called state-info-1 in src/main. It does some changes to any message it gets and publishes the new message on activemq topic state-info-2. I will build a dummy message and publish…
Rajkishan Swami
  • 3,569
  • 10
  • 48
  • 68
11
votes
1 answer

How do I make Spring JMSListener burst to max concurrent threads?

I have a Spring JMS Application that is using ActiveMQ version 5.10. I am performing a simple test to concurrency. I am using Spring Boot, current version and annotations to configure JMSListener and message producers. The message producer just…
Griff
  • 1,796
  • 3
  • 23
  • 48
11
votes
1 answer

How to activemq in ssl

I'm trying to send messages via jms (activemq) but I want it to be in ssl protocol. It actuality works in tcp for now. I use jndi, with a virtual topic and 2 queues. Could somebody help me, I tryed this but I get stuck the server won't start :…
Igor Beaufils
  • 848
  • 2
  • 12
  • 29
11
votes
1 answer

ActiveMQ Broker Factory Could not find factory class for failover

I am getting this error when trying to create a ActiveMQ broker with the BrokerFactory: java.io.IOException: Could not load failover factory:java.io.IOException: Could not find factory class for resource:…
Tim
  • 189
  • 1
  • 14
11
votes
5 answers

Spring Boot same broker messages repeated to console

I'm working on a Spring Boot project at the moment, this text keeps being printed to the console every second for thirty seconds before stopping. 15:18:02.416 o.a.activemq.broker.TransportConnector : Connector vm://localhost started 15:18:03.480 …
Jordan
  • 1,875
  • 2
  • 17
  • 24
11
votes
3 answers

ActiveMQ configuration with Spring Boot

I use ActiveMQ as Embedded with Spring Boot. It seems the Broker is created trough an ActiveMQConnectionFactory. I understand that the way to configure the broker is to set parameters in the query with broker. as described here :…
Mop So
  • 391
  • 1
  • 3
  • 13
11
votes
1 answer

Apache Camel with ActiveMQ clustering

I'm trying to determine my options for clustering my ServiceMix 3.3.1/Camel 2.1/AMQ 5.3 application. I'm performing high volume message processing and I need to cluster for high availability and horizontal scalability. Here is basically what my…
Ben ODay
  • 20,784
  • 9
  • 45
  • 68
11
votes
1 answer

Apache ActiveMQ 5.3 - How to configure a queue to reject duplicate messages?

I need the queue to enforce no-duplicate policy. Is it possible? If so , how? (I've been googling for hours... ) Edit: The ActiveMQSession implementation has this lines: // transform to our own message format here …
Yossale
  • 14,165
  • 22
  • 82
  • 109
11
votes
2 answers

Camel ActiveMQ Performance Tuning

Situation At present, we use some custom code on top of ActiveMQ libraries for JMS messaging. I have been looking at switching to Camel, for ease of use, ease of maintenance, and reliability. Problem With my present configuration, Camel's ActiveMQ…
Spycho
  • 7,698
  • 3
  • 34
  • 55
11
votes
2 answers

Unable to start Active MQ on Linux

I am trying to get ActiveMQ server running on a RaspberryPI Debian Squeeze box and all appears to be installed correctly but when I try and start the service I am getting the following... root@raspberrypi:/var/www/activemq/apache-activemq-5.7.0#…
user1743960
  • 141
  • 1
  • 1
  • 4
11
votes
4 answers

Activemq will not start on my Ubuntu VM

I'm trying to run activemq on my ubuntu virtual machine but have constantly been running into issues getting it to start up. I've tried downloading the binary and source with no luck. Currently I have downloaded the source, run "mvn clean install…
OrwellHindenberg
  • 4,988
  • 8
  • 38
  • 58
11
votes
1 answer

ActiveMQ exception when stopping

Configuration: Redhat 5.3, Sun Java 1.6.31, ActiveMQ 5.4.2 I'm getting an exception every time I stop activemq ($> service activemq stop) ACTIVEMQ_HOME: /opt/apache/apache-activemq-5.4.2 ACTIVEMQ_BASE: /opt/apache/apache-activemq-5.4.2 Connecting to…
cyber-monk
  • 5,470
  • 6
  • 33
  • 42