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
13
votes
2 answers

No response when using IBM MQ client jars in application to connect to IBM MQ server

The application I am working on needs to communicate to an IBM MQ server in a remote location. We currently have a working system using active MQ which uses a broker, and a bridge to connect to this remote IBM MQ server and is working fine. Due to…
Raj
  • 1,945
  • 20
  • 40
13
votes
2 answers

WARNING as java.io.EOFException when ActiveMQ starts

I am trying to start the ActiveMQ 5.11 and I see a WARNING as below: WARN | Transport Connection to: tcp://127.0.0.1:40890 failed: java.io.EOFException My activemq.xml is as below:
divinedragon
  • 5,105
  • 13
  • 50
  • 97
13
votes
4 answers

How to set typeIdPropertyName in MappingJackson2MessageConverter

With Spring4 + ActiveMQ I want to receive a JMS Message from a Queue and convert to POJO automatically. I added the MappingJackson2MessageConverter to DefaultJmsListenerContainerFactory: @Bean public DefaultJmsListenerContainerFactory…
user5134456
13
votes
3 answers

MongoDB Schema Design - Real-time Chat

I'm starting a project which I think will be particularly suited to MongoDB due to the speed and scalability it affords. The module I'm currently interested in is to do with real-time chat. If I was to do this in a traditional RDBMS I'd split it…
Nick
  • 6,967
  • 2
  • 34
  • 56
13
votes
4 answers

High Performance JMS Messaging

I read slides from this year's UberConf and one of the speakers is making the argument that Spring JMS adds a performance overhead to your message queue system, however I don't see any evidence to support that in the slides. The speaker also makes…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
12
votes
1 answer

Difference between ApacheActiveMQ and ApacheActiveMQApollo

What's the difference between Apache ActiveMQ and Apache ActiveMQ Apollo? Apollo documents says:"ActiveMQ Apollo is a faster, more reliable, easier to maintain messaging broker built from the foundations of the original ActiveMQ. It accomplishes…
Sam
  • 6,770
  • 7
  • 50
  • 91
12
votes
1 answer

configure JMX for ActiveMQ for remoting access

Anyone can give the detailed steps on how to enable JMX (can be access remotely) on a newly installed 5.5.0 version?
user705414
  • 20,472
  • 39
  • 112
  • 155
12
votes
5 answers

Migrating to Spring Boot 3 with ActiveMQ "Classic"

I am trying to migrate to Spring Boot 3 with the new namespace jakarta.xx instead of javax.xx but the ActiveMQ "Classic" client has not been updated and was deprecated. Is there a way to continue using the old ActiveMQ client? I tried the new…
Samuel
  • 547
  • 1
  • 3
  • 14
12
votes
2 answers

Integration between Node.js and ActiveMQ - how to use

Background I am studying ApacheMQ for a project where we need a message broker. Upon reading the official page I see some features that I am interested in: Access to messaging Enterprise Integration Patterns (EIPs) Support for the STOMP, AMQP, MQTT…
Flame_Phoenix
  • 16,489
  • 37
  • 131
  • 266
12
votes
3 answers

Serializable class not available to broker: java.lang.ClassNotFoundException while viewing messages in ActiveMQ

I want to see content of message which have been queued in ActiveMQ queues. I opened web-console.(http://localhost:8161/admin/queues.jsp) and clicked on message-id of the message of queue. It gives me following error in "Message Details" window…
OwlR
  • 409
  • 1
  • 5
  • 19
12
votes
1 answer

Camel and Activemq setup with Spring Boot

I have noticed in several examples, the common way to configure activemq with camel is with the following beans. I would like to know if Spring Boot already configures any of these beans by default. I know that if the activemq jars are on the…
zachariahyoung
  • 821
  • 4
  • 17
  • 29
12
votes
3 answers

Unit testing with JMS (ActiveMQ)

How to do unit testing with JMS ? Is it some de-facto for this ? I googled something - Unit testing for JMS: http://activemq.apache.org/how-to-unit-test-jms-code.html - jmsTemplate: activemq.apache.org/jmstemplate-gotchas.html - mockRunner :…
Larry Cai
  • 55,923
  • 34
  • 110
  • 156
12
votes
1 answer

Camel - content enricher: enrich() vs pollEnrich()

1ST QUESTION: I'm not able to really understand the difference between enrich() and pollEnrich(). Maybe the terms Camel uses are not so great. I read here: http://camel.apache.org/content-enricher.html Content enrichment using the enrich DSL…
rapt
  • 11,810
  • 35
  • 103
  • 145
12
votes
2 answers

Where to change prefetch value in activemq

I read documentation about prefetch buffer.As per my understanding If I assign Prefetch value =1 to consumer A. Activemq push 1 message at a time to A .once A sends acknowledgement to activemq,then only activemq push another message to A. My doubt…
Hanumath
  • 1,117
  • 9
  • 23
  • 41
12
votes
2 answers

ActiveMQ and embedded broker

EDIT: Rephrased the question: I want to use ActiveMQ as a messenger service between my server and client applications. I am trying to set up an embedded broker (i.e. not a separate process) within the server to handle the produced messages for my…
Jaco Van Niekerk
  • 4,180
  • 2
  • 21
  • 48