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
29
votes
14 answers

Cannot find the declaration of element 'beans'

I have the spring jars of spring-3.2.0.RC1.jar and trying to implement Apache ActiveMQ helloWorld program from tutorial given here. The xml configuration file is:
nebula
  • 3,932
  • 13
  • 53
  • 82
28
votes
3 answers

How do you publish a JMS topic with Spring JMS?

I have a component that sends messages to a queue to be handled by another system. It should also publish a topic about job statuses every once in a while. Can I just use the same JmsTemplate used to send to a queue AND to publish to a topic? I…
wsb3383
  • 3,841
  • 12
  • 44
  • 59
27
votes
2 answers

multiple SLF4J bindings Error with activemq-all-5.6.0.jar

When I upgrade to activemq-all-5.6.0 I get this error during server startup SLF4J: Class path contains multiple SLF4J bindings I don't have this issue when using activemq-all-5.5.1 On checking I do find that there StaticLoggerBinder.class in both…
Jeenson Ephraim
  • 551
  • 2
  • 9
  • 24
26
votes
2 answers

Difference between Pending Messages and Enqueue Counter in Active MQ?

In the Active MQ Admin console of what is the difference between "Number Of Pending Messages" and "Messages Enqueued"? When a Message is placed on to the queue, should both these values should match?
Srinivas
  • 1,383
  • 5
  • 20
  • 28
26
votes
17 answers

Activemq can't run due to address already in use error

How to solve the error? Java Runtime: Oracle Corporation 1.7.0_05 E:\Program Files\Java\jdk1.7.0_05\jre Heap sizes: current=1004928k free=994439k max=1004928k JVM args: -Dcom.sun.management.jmxremote -Xms1G -Xmx1G…
user1559462
  • 279
  • 1
  • 3
  • 3
25
votes
4 answers

Advantages of HornetQ vs ActiveMQ vs Qpid

I was browsing for an open source messaging software and after some good bit of research I came across these three products. I've taken these out for a preliminary test drive, having had them handle messages for queues and topics, and from what I've…
Raymond Linear
  • 251
  • 1
  • 3
  • 3
25
votes
5 answers

Concurrent Synchronous Request-Reply with JMS/ActiveMQ - Patterns/Libraries?

I have a web-app where when the user submits a request, we send a JMS message to a remote service and then wait for the reply. (There are also async requests, and we have various niceties set up for message replay, etc, so we'd prefer to stick with…
joshwa
  • 1,660
  • 3
  • 17
  • 26
24
votes
1 answer

RabbitMQ / ActiveMQ or Redis for over 250,000 msg/s

Eventhough redis and message queueing software are usually used for different purposes, I would like to ask pros and cons of using redis for the following use case: group of event collectors write incoming messages as key/value . consumers fetch…
anonymous
  • 243
  • 1
  • 2
  • 4
24
votes
4 answers

jms producer performance with spring

i created a simple producer consumer simulation based on spring, jms and activemq, i'm trying to reach high performance from both sides, producers and consumers, Connection settings :
Matan
  • 581
  • 2
  • 4
  • 13
24
votes
1 answer

AMQP 0-9-1 vs 1-0

I am looking for a messaging service for a new project that will have to interface some C# applications with some Java applications. I really like RabbitMQ because it seems to have amazing support for both technologies. I see in the RabbitMQ specs…
ab_732
  • 3,639
  • 6
  • 45
  • 61
22
votes
6 answers

Avoiding duplicated messages on JMS/ActiveMQ

Is there a way to suppress duplicated messages on a queue defined on ActiveMQ server? I tried to define manually JMSMessageID, (message.setJMSMessageID("uniqueid")), but server ignores this modification and deliver a message with built-in generated…
Andre Pastore
  • 2,841
  • 4
  • 33
  • 44
22
votes
3 answers

ActiveMQ connection refused

I am trying to use activemq in my application, but keep getting an error when I try and connect to localhost: log4j:WARN No appenders could be found for logger (org.springframework.core.env.StandardEnvironment). log4j:WARN Please initialize the…
Biscuit128
  • 5,218
  • 22
  • 89
  • 149
21
votes
4 answers

ACTIVEMQ- publisher subscriber hello world example

There are two programs: subscriber and publisher... Subscriber is able to put the message onto the topic and the message is sent successfully. When I check the activemq server on my browser it shows 1 msg enqueued . But when I run the consumer code,…
Vijet Badigannavar
  • 271
  • 1
  • 3
  • 5
21
votes
1 answer

ActiveMQ failover transport - Why so many connections?

We have 4 ActiveMQ brokers (each running on a separate server) setup in a network of brokers. There about 60 producers. The producers lookup the ActiveMQ connection factory from Glassfish using JDNI. The ActiveMQ URI configured in Glassfish is as…
sceaj
  • 1,573
  • 3
  • 12
  • 24
20
votes
2 answers

How to enable instances for Apache ActiveMQ running on Ubuntu?

I've just installed ActiveMQ using apt-get on Ubuntu 11.10. Every time I try to start it I can see on in the console: No instances found at /etc/activemq/instances-enabled. To start the service I'm using service command as follow: $ sudo service…
Tomasz Błachowicz
  • 5,731
  • 9
  • 41
  • 47