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

How could i persist ActiveMQ messages?

Found that KahaDB is installed in ActiveMQ by default. Found a db.data file, when I open it (its a config file), i saw this: # #Fri Aug 02 11:55:47 ART…
msqar
  • 2,940
  • 5
  • 44
  • 90
2
votes
0 answers

ActiveMQ negative AverageEnqueueTime

I'm facing a strange issue on a network of brokers, with AMQ 5.8.0. Checking the times on Jconsole I can see negative AverageEnqueueTime values. The same applies querying such values in a programmatic way using the following code: String jmxUrl =…
Cristiano Ghersi
  • 1,944
  • 1
  • 20
  • 46
2
votes
1 answer

Spaces in ActiveMQ AuthorizationEntry Group Names

I am trying to use the JaasAuthenticationPlugin to authenticate users trying to access specific queues. (Most of my code is based off of the examples given in ActiveMQ in Action) Ultimately, I want to authenticate against an Active Directory server,…
Chris Finley
  • 3,901
  • 5
  • 24
  • 32
2
votes
1 answer

Configuring AMQP transport connector for ActiveMQ broker in Camel

Goal i'm trying to achieve is to start AMQP protocol listening from Apache Camel's ActiveMQ broker. I've did create maven module from org.apache.camel.archetypes:camel-archetype-activemq (Creates a new Camel project that configures and interacts…
nefo_x
  • 3,050
  • 4
  • 27
  • 40
2
votes
1 answer

Failed to start ActiveMQ JMS Message Broker

I am trying to run my project using jetty-debug. It was working fine yesterday, but today when I tried to running the project it threw me the included errors. Any idea how I could resolve this? I have checked 61616 port, is not being used by…
ash
  • 21
  • 1
  • 3
2
votes
4 answers

Sytem.exit vs break or return

I am executing following ActiveMq program, to put the files in queues. public static void main(String[] args) throws JMSException, IOException { FileInputStream in; //Write the file from some location that is to be uploaded on ActiveMQ…
Arun Kumar
  • 6,534
  • 13
  • 40
  • 67
2
votes
0 answers

Is there a way to use the ActiveMQ Ajax servlet with Tomee?

Is there a way to use the ActiveMQ Ajax servlet with Tomee? This documentation page implies that it "just works": http://activemq.apache.org/tomee.html But, elsewhere, it is made clear that the servlet depends upon Jetty:…
Chris Owens
  • 1,107
  • 1
  • 10
  • 15
2
votes
0 answers

ActiveMQ Consumer takes a long time to receive messages on startup

I've been experiencing an issue on the consumer side when restarting. After dumping the heap and sifting through threads, I've determined that the issue is due to the compression of the kahadb local repository index file. As this file gets larger,…
Jason King
  • 31
  • 4
2
votes
3 answers

Apache Apollo Examples JAVA

Can any one provide example on Apache Apollo Queue producer and consumer from JAVA ? Earlier I was using Apache ActiveMQ but now I want to migrate.
Learn More
  • 1,535
  • 4
  • 29
  • 51
2
votes
1 answer

Chat by JMS. How to link components ? (wicket, activemq, j2ee)

I have some architecture question. I develop a wicket web-app running on glassfish appserver, there is some ejb module, etc. To create chat panel I would like to use some kind of JMS, for example Apache ActiveMQ to avoid continuous polling. I made 2…
Victor
  • 325
  • 4
  • 12
2
votes
1 answer

wso2 esb jms message redelivery

I have a WSO2 proxy service that sends a SOAP message to a JMS queue with OUT_ONLY=true. The JMS broker is Active MQ. If the Active MQ service isn't running on the server I find that the messages are stored in ESB until it is started again. How is…
ourweehome
  • 163
  • 2
  • 5
2
votes
1 answer

Unable to see queue information or messages in activemq webconsole

I'm trying to configure Activemq with MySql. Everything seems to have been configured properly as i am able to send and receive messages through code. But I'm not able to see any queue or messages information in the Activemq Web Console. below is my…
Piyush
  • 372
  • 3
  • 8
  • 19
2
votes
3 answers

How to start ActiveMQ on an EC2 machine?

I've installed ActiveMQ on an EC2-Ubuntu instance (Ubuntu Server 13.04)(via apt) Yet, I face the problem that I can not start ActiveMQ via the provided start script. When I try to start it - as the default 'ubuntu' user - i get the following…
2
votes
1 answer

What are the possible causes that let ActiveMQ application silently quit?

I have made a simple ActiveMQ application. It listens to a queue. If a message comes, print out the dataId Here is the code: import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.Destination; import…
Jackson Tale
  • 25,428
  • 34
  • 149
  • 271
2
votes
0 answers

ActiveMQ: Using Proxy Broker to connect to a backend network of brokers

I'm trying to use the proxy connectors to redirect the traffic of a broker towards another broker. I need to cope with authentication through certificates in my scenario. When I use a bind uri of the type nio+ssl://192.168.1.5:61619, the…
Cristiano Ghersi
  • 1,944
  • 1
  • 20
  • 46
1 2 3
99
100