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
20
votes
7 answers

Active MQ vs JBoss Messaging

I am going to choose a JMS message broker for a project. It is critical that the JMS server is stable and can handle a high load of messages. I have narrowed down the list to include Active MQ and JBoss Messaging. I was wondering if any of you…
maskefjes
  • 340
  • 1
  • 3
  • 8
20
votes
6 answers

SpringBoot + ActiveMQ - How to set trusted packages?

I'm creating two springboot server & client applications communicating using JMS, and everything is working fine with the release 5.12.1 for activemq, but as soon as I update to the 5.12.3 version, I'm getting the following error…
AntoineB
  • 4,535
  • 5
  • 28
  • 61
20
votes
5 answers

Multicasting, Messaging, ActiveMQ vs. MSMQ?

I'm working on a messaging/notification system for our products. Basic requirements are: Fire and forget Persistent set of messages, possibly updating, to stay there until the sender says to remove them The libraries will be written in C#. …
Chris Marasti-Georg
  • 34,091
  • 15
  • 92
  • 137
20
votes
1 answer

Difference between Kafka and ActiveMQ

I have been working on Active MQ for quite some time and familiar with the Active MQ architecture. Recently I have been hearing a lot about Kafka as a messaging system. What advantages does it have over Active MQ and other messaging system? Is it…
zer0Id0l
  • 1,374
  • 4
  • 22
  • 36
19
votes
9 answers

A fatal error has been detected by the Java Runtime Environment. EXCEPTION_ACCESS_VIOLATION

I have java 1.6, maven 2, activeMQ 5.5 and functional tests with testng. When I launch it in Idea then OK, but when I try to launch them with maven from console then process suspends after trying to send message via activeMQ and after some time…
Dmitrii Borovoi
  • 2,814
  • 9
  • 32
  • 50
19
votes
6 answers

Getting a simple Spring JMS client acknowledge to work

Just starting to get my head around getting JMS ActiveMQ Acknowledgements working in Spring. So far I have a consumer working perfectly, with the exception that when I don't acknowledge the message, it's still taken from the queue (I expect it to…
Scotty OB
  • 403
  • 1
  • 4
  • 12
18
votes
5 answers

Is message priority inherently unimportant in message queue systems?

It seems like most of the messaging systems I've looked at have basic, if any, support for priority message queues. For example, the AMQP only specifies a minimum of 2 priorities. RabbitMQ, an AMQP implementation, doesn't support any priorities.…
Edward Dale
  • 29,597
  • 13
  • 90
  • 129
18
votes
1 answer

ActiveMQ: Openwire vs AMQP vs Stomp

ActiveMQ is a Message Broker that supports many different protocols such as Openwire, AMQP and Stomp. It is really confusing to know: what are the differences between using Openwire and AMQP as a base protocol to send and receive messages in the…
moha
  • 579
  • 2
  • 9
  • 27
18
votes
3 answers

Count number of messages in a JMS queue

What is the best way to go over a JMS queue and get all the messages in it? How can count the number of messages in a queue? Thanks.
Michael A
  • 5,770
  • 16
  • 75
  • 127
17
votes
5 answers

How to send message headers (properties) for a message in active mq web console localhost:8161?

I searched a lot in web, couldn't find any answers.
Raghunandan J
  • 584
  • 1
  • 6
  • 22
17
votes
1 answer

Spring Websocket with Stomp full featured broker and failover

I have those configuration for spring and a full feature stomp broker (ActiveMQ): @Configuration @EnableWebSocketMessageBroker public class WebsocketConfig extends AbstractWebSocketMessageBrokerConfigurer { private static Logger LOG =…
Raphael do Vale
  • 931
  • 2
  • 11
  • 28
17
votes
2 answers

Distributed ActiveMQ with Camel

I am in the process of learning ActiveMQ and Camel, with the goal to create a little prototype system that works something like this: (source: paulstovell.com) (big) When an order is placed in the Orders system, a message is sent out to any…
Paul Stovell
  • 32,377
  • 16
  • 80
  • 108
16
votes
4 answers

JMS message priority not working on Message

I need to set message priority so that High priority messages are consumed before Low priority messages by Receivers. First I tried with message.setJMSPriority() method to set the priority but it was not working in HornetQ and ActiveMQ so finally I…
SmartSolution
  • 2,320
  • 5
  • 37
  • 49
16
votes
1 answer

How to send ERROR message to STOMP clients with Spring WebSocket?

I am using Spring's STOMP over WebSocket implementation with a full-featured ActiveMQ broker. When users SUBSCRIBE to a topic, there is some permissions logic that they must pass through before being successfully subscribed. I am using a…
hartz89
  • 669
  • 1
  • 6
  • 18
16
votes
2 answers

ActiveMQ vs JMS

I am trying to understand JMS. What is the difference between ActiveMQ and JMS can pool the data from NON ActiveMQ with ActiveMQ plugin in Spring? Thanks ,In advance
StudentJava
  • 221
  • 1
  • 2
  • 6