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 CMS - redelivery counter

Is there a way to know how many times a specific message has been redelivered? There's the method getCMSRedelivered() of the class cms::Message, that works alright but returns a boolean. There's also the method getRedeliveryCounter() of the class…
Ofer B
  • 117
  • 1
  • 12
2
votes
1 answer

activemq brokerName always localhost?

This may be a n00b question, I've installed activemq on CentoOS and when i start it like so setting the brokerName to "Test": sudo activemq start broker:tcp://localhost:61666?brokerName=Test&persistent=true&useJmx=false Then query it: sudo…
dlite922
  • 1,924
  • 3
  • 24
  • 60
2
votes
2 answers

Mule throttling on a backend service

I have a back end service that I need to throttle access to. I'm trying to use the approach described here: http://blogs.mulesoft.org/synchronous-and-asynchronous-throttling-2/ I started with a simple pass through flow that receives a SOAP request…
Tad
  • 517
  • 8
  • 30
2
votes
1 answer

How do I work with Message Groups in ActiveMQ

I am attempting to use ActiveMQ 5.8.0 message groups in my application, and am not getting the results that I expected after reading the documentation. I start two (or more) consumers for a particular queue, and then I send messages to the queue.…
David Raitt
  • 21
  • 1
  • 4
2
votes
0 answers

Using beanstalkd vs ActiveMQ for queuing on PHP Ubuntu

I have a PHP system where users interact with others; when user do some action, then this action will forward to all users following this user as member feed. I currently use beanstalkd queue system, so I send massage to beanstalkd and beanstalkd…
Osama Jetawe
  • 2,697
  • 6
  • 24
  • 40
2
votes
2 answers

Password security using JMS Request-Reply

I am implementing a Request-Reply pattern using JMS (ActiveMQ) as a logon service. It all works well. I send the username and password in the message and then check the encrypted version of the password with the encryption in the database. I use…
totalcruise
  • 1,343
  • 2
  • 13
  • 25
2
votes
1 answer

ActiveMQ: Reject connections from producers when persistent store fills

I would like to configure my ActiveMQ producers to failover (I'm using the Stomp protocol) when a broker reaches a configured limit. I want to allow consumers to continue consumption from the overloaded broker, unabated. Reading ActiveMQ docs, it…
maxenglander
  • 3,991
  • 4
  • 30
  • 40
2
votes
0 answers

I'm getting a deadlock when calling consumer.setMessageListener(MessageListener)

In activemq I'm doing something that might be wrong. I'm creating a consumer and setting a messageListener (consumer.setMessageListener(MessageListener)) while consuming a message. This causes activeMQ to deadlock. Here is a code sample of what I am…
darrickc
  • 1,872
  • 6
  • 27
  • 38
2
votes
2 answers

ActiveMQ starts to fail in Fuse Jboss when a feature is deployed

Im having a problem when I deploy a feature. The feature contains three bundles, and Karaf deploys well these bundles, but when they are deployed ActiveMQ starts to having problems. The deployed bundles are simples. The "complicated" is a camel…
Chubutin
  • 165
  • 2
  • 9
2
votes
1 answer

Asynchronous send to a queue using Spring Jms issue

I have a requirement when I need to write asynchronously to a queue in activemq. I am using Spring Jms to do it. This is the wiring in my spring context file
user1717230
  • 443
  • 1
  • 15
  • 30
2
votes
0 answers

Using ActiveMQ fileQueueCursor and the temp store without enabling persistence

I'm using ActiveMQ 5.7.0 and want the fileQueueCursor to spill into the temp store if the queue destination reaches a certain memory threshold. I don't want to enable persistence. I've configured a destinationPolicy:
rnoska
  • 21
  • 1
2
votes
0 answers

ActiveMQ performance: Memory leak

Good Morning, I'm a new user of JMS technology and particularly with ActiveMQ solution. I'm having some problems with the performance of my application. Specifically, i'm developing a 24x7 application. We are using MessageListener for all consumers.…
2
votes
1 answer

Camel jms to external activeMQ with request-reply gives javax.jms.InvalidDestinationException: Cannot publish to a deleted Destination:

We have third party applications that make restful calls to camel cxfrs endpoint which is then routed to an external activeMQ. There are applications consuming these JMS messages and provide XML responses. This is all done synchronously using camel…
myspri
  • 283
  • 7
  • 14
2
votes
2 answers

Seriously confused: has ActiveMQ dropped support for connection pooling?

I'm new to ActiveMQ (we use Apollo for the broker). Everything I read says to use org.apache.activemq.pool.PooledConnectionFactory for connection pool, except that class does not exist in activemq-all-5.5.0.jar. According to jarfinder.com that class…
Gerry
  • 1,031
  • 1
  • 14
  • 30
2
votes
0 answers

ActiveMQ unique constraint violated

I'm seeing some unique constraint violations during a load test of 10,000 messages (only 8 out of 10,000 affected). I'm wondering if it's something I need to change in the DBCP data source settings, or Active MQ settings. The error…
Wayne Earnshaw
  • 527
  • 6
  • 15
1 2 3
99
100