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
2
votes
1 answer

Jolokia commands for ActiveMQ

I am reading now that Jolokia can act as a medium to command and manage ActiveMQ 5.8+ through a restAPI (GET/POST commands). I am failing to find any references on what the specific commands are to (for example): Get a list of active queues Get a…
E.S.
  • 2,733
  • 6
  • 36
  • 71
2
votes
1 answer

Camel reset REDELIVERY_MAX_COUNTER to 0 or n is not working

As this link says dead-letter-channel I come to know the header of message contains max re delivery times. Starting with 2.6: The header CamelRedeliveryMaxCounter, which is also defined on the Exchange.REDELIVERY_MAX_COUNTER, contains the maximum…
niren
  • 2,693
  • 8
  • 34
  • 58
2
votes
3 answers

Communicating with AMQP 1.0 broker over SSL using Qpid

I am using ActiveMQ 5.8.0, which supports AMQP 1.0 as a queue broker. I am trying to communicate with this from a Java client using the Qpid AMQP1.0 client jms library but do not see a method of specifying keystore and truststore information. I have…
John Dalton
  • 249
  • 5
  • 13
2
votes
2 answers

Expire Messages on ActiveMQ when there are not subscribers

When adding messages to a queue in an ActiveMQ broker where there is no subscriber the queue fills up and eventually the producer thread hangs, unable to publish any more messages. In an attempt to resolve the problem I set an expiry on the…
James
  • 1,720
  • 5
  • 29
  • 50
2
votes
2 answers

Apache Camel AMQP - ActiveMQ AMQP header mismatch value 1, expecting 0

I am attempting to make an Apache Camel application that integrates with ActiveMQ over AMQP. I have been working from the provided 'camel-example-spring-jms' project, which is over the standard TCP connection, but I have modified to use my…
John Dalton
  • 249
  • 5
  • 13
2
votes
2 answers

ActiveMQ converting `/` to `.` in queue names when using curl

My 5.0.8 ActiveMQ queue is named queue/andburn. Using curl -u admin:admin -d 'body="Aardvark"' "http://localhost:8161/api/message/queue/andburn?type=queue" creates a new queue queue.andburn. When I escape / like \/ I get queue\.andburn. When I…
eebbesen
  • 5,070
  • 8
  • 48
  • 70
2
votes
1 answer

How can I deploy a resource-adapter activation in JBoss 7?

I am trying to figure out how to deploy a resource-adapter activation in JBoss 7. Basically, I want to be able to package and deploy a full application without having to modify the base server configuration, in part because I want to bootstrap…
Nicholas
  • 15,916
  • 4
  • 42
  • 66
2
votes
2 answers

Make sure the broker holds messages until at least one consumer gets it

I am begining to implement an ActiveMQ based messaging service to send worker tasks to various servers, however I am noticing that in the default mode, if no one is "listening" to a producer's topic, any message from that producer will be…
E.S.
  • 2,733
  • 6
  • 36
  • 71
2
votes
1 answer

Which Java EE container works for Apache Camel/CXF/ActiveMQ web applications using EJBs?

The Camel web page says The following projects can leverage Apache Camel as a routing and mediation engine: Apache ServiceMix - a popular distributed open source ESB and JBI container Apache ActiveMQ - a mature, widely used open source message…
tpc1095
  • 109
  • 1
  • 12
2
votes
2 answers

Camel HTTP authentication fails but call works with curl

I'm constructing a Camel route that will make calls to Twilio's SMS API to send SMSs. The API demands BASIC authentication but my calls are failing with a 401 authentication error. I've copied my config from this worked example and validated that…
2
votes
1 answer

Mule - Unable to find type org.apache.activemq

I am using Mule Studio 3.4 and would like to experiment with Active Mq. I understood that ActiveMq is embedded in Mule, so it's not necessary to add jars on the classpath, by the way activeMq classes cannot be found on the classpath. Where am I…
user1820620
  • 672
  • 2
  • 13
  • 27
2
votes
1 answer

Anyone using multicast with ActiveMQ

I'm having trouble setting up multicast transport using ActiveMQ. I noticed with version 5.2 there is a bug that prevents it from even building the correct factory (fixed in 5.3). The fact this bug exists makes me wonder if anyone is using multicast…
reccles
  • 5,174
  • 3
  • 30
  • 31
2
votes
1 answer

javax.jms.JMSException: Channel was inactive for too long: localhost/127.0.0.1:7676

I am trying to connect jms server using ActiveMQ from a stand alone java code but I am struggling with following exception. I tried various options but not able to figure out root cause. It is failing at following line of…
user2094445
  • 65
  • 1
  • 2
  • 7
2
votes
5 answers

How to load balancing ActiveMQ with persistent message

I have a middleware based on Apache Camel which does a transaction like this: from("amq:job-input") to("inOut:businessInvoker-one") // Into business processor to("inOut:businessInvoker-two") to("amq:job-out"); Currently it works perfectly.…
sancho21
  • 3,511
  • 1
  • 39
  • 45
2
votes
1 answer

ActiveMQ Running on AWS - EC2 instance, Producer Performance Improvement

I am currently working on an assignment which requires me to benchmark response times between apache activemq and aws-sqs. In my finding I found that, activemq producer takes 35 sec / 1000 messages [120 bytes each] consumer takes 250 ms / 1000…
Dhruvenkumar Shah
  • 520
  • 2
  • 10
  • 26