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

ActiveMQ: how to balance the load across multiple Message Broker instances?

Just walked through these docs: http://activemq.apache.org/failover-transport-reference.html <--- As I understood, failover allows Producer and Consumer to produce/consume a secondary queue only if first becomes unavailable and return to the…
adrift
  • 637
  • 2
  • 10
  • 34
2
votes
0 answers

Compiling and installing pyactivemq on osx

I'm having a hardtime trying to install pyactivemq (link) on my osx leopard. Following a tutorial (in portuguese) on compiling it ends up ok, but when I run the tests i receive only a crypt message: Fatal Python error: Interpreter not initialized…
Jose Muanis
  • 547
  • 4
  • 13
2
votes
1 answer

Unable to use XPath selectors in ActiveMQ consumer

I have such class: public class XpathSelectorConsumer { public static void main(String[] args) throws JMSException { ActiveMQConnectionFactory connectionFactory = new ActiveMQConnectionFactory("tcp://localhost:55901"); // Create a…
evgeniy44
  • 2,862
  • 7
  • 28
  • 51
2
votes
1 answer

ActiveMQ - No topic messages received from DurableConsumer

I´m trying to reveive messages from an ActiveMQ topic. In the web console i see that numerous messages are enqueued in the topic, but running the following code doesn´t return anything: IConnectionFactory factory = new ConnectionFactory(new…
Prefect73
  • 321
  • 3
  • 14
2
votes
2 answers

More than one machine listening to same activemq queue

I have configured two machines each with 10 consumers which listen to same activemq queue running on a third machine.But consumers from only one machine are reading messages from the queue and the other one is sitting idle I am expecting 20…
Aniket Divekar
  • 344
  • 1
  • 13
2
votes
0 answers

Apollo MQ and stomp.py

There is some way to connect to Apollo MQ autheticated channels using stomp.py library? We migrated from ActiveMQ to ApolloMQ and all our listeners can't connect to Apollo queues.
Andre Pastore
  • 2,841
  • 4
  • 33
  • 44
2
votes
1 answer

How to publish/subscribe JMS message between two applications?

I have two Java standalone applications. I want to send message from one application and asynchronously receive message by two clients: one is in the same application as the sender. The other is in a different application. Both are connected with…
tonga
  • 11,749
  • 25
  • 75
  • 96
2
votes
2 answers

How can i check whether temporary queue is created or not in activemq?

i am new to activemq.i created one temporary queue. i can get the temporary queue name from my application using below code. Destination temdest=session.createTemporaryQueue(); System.out.println("<
nichu09
  • 882
  • 2
  • 15
  • 44
2
votes
2 answers

How to get Message without creating Queue in Activemq

i am new to activemq. i created one queue and produce one message to that queue from one client. i want to consume that message from another client. for consume the message the code follows ActiveMQConnectionFactory connectionFactory = new…
nichu09
  • 882
  • 2
  • 15
  • 44
2
votes
2 answers

logging of message details in activemq with camel

I want to log message details that are going into activemq queue and the response message coming to the queue (queue's exchange pattern is inOut). Kindly guide.
Amit Kumar
  • 285
  • 1
  • 5
  • 13
2
votes
2 answers

JMS with ActiveMQ in Groovy - unable to resolve class ActiveMQConnectionFactory

I am trying my first groovy JMS example: Also seen this post. Did that but still Class not resolved. @Grab(group='net.sf.gtools.jms', module='JmsCategory', version='0.2') @Grab(group='org.apache.activemq',module = 'activemq-all',…
2
votes
1 answer

ActiveMQ: failover if memory / data-store is full

The failover transport in ActiveMQ works nicely if one of broker instances goes down - producer automagically switches to the next broker instance what is good. I was expecting the same behavior if broker reaches it's memory limit (configured…
adrift
  • 637
  • 2
  • 10
  • 34
2
votes
2 answers

What JNDI environment properties do I use for Jetty?

I'm running jetty-6.1.7 and I've got an ActiveMQConnectionFactory that I'd like to reference in my spring configuration via a JNDITemplate. My jetty.xml configuration is vanilla:
2
votes
1 answer

Does WebSphere Application Server's MQ link facilitate connecting to third party JMS providers

An earlier question on interoperating with MQ Series and a pure open-source solution was answered partly with: "The one exception is that WebSphere App Server Messaging Engines can interoperate with WMQ. These are pure JMS messaging engines…
user1069528
  • 618
  • 1
  • 13
  • 29
2
votes
1 answer

Active MQ clustering using http auto discovery with multi cast on Amazon EC2

We are trying to set up the active MQ cluster on production environment on Amazon EC2 with Auto discover and multicast. I was able to configure successfully auto discovery with multi-cast on my local active mq server but on Amazon EC2 it is not…
R Nazneen
  • 51
  • 1
  • 7