I have one queue with N messages. Now I would like to create a console application (consumer), that create a given number of tasks/threads and each thread would take 1 message from queue, process it and take a new message... until queue is empty. Up
According to http://docs.oracle.com/javaee/6/api/javax/jms/Message.html#acknowledge() A client may individually acknowledge each message as it is consumed, or it may choose to acknowledge messages as an application-defined group (which is done by cal
I am new in ActiveMQ and I need to create spring boot aplication where are publis activeMQ queues. Therefore I created the simple SpringBoot application @SpringBootApplication @EnableJms public class Application { @Bean JmsListenerContainerFactory<?>
I am using jms to send messages between two apps, here is the code for receiver app xmlns amq:"http://activemq.apache.org/schema/core" amq.'broker'( useJmx: '${grails.jms.useJmx}', persistent:'${grails.jms.persistent}', dataDirectory: '${grails.
I'm happily improving my web application that runs on a Apache Tomcat. An ActiveMQ JMS server is added to send and receive messages. I already can send and receive messages, but need help on the receiver side. How should my web app continuously liste
I am a newbie to Apache Active MQ. I am following the instructions from here I don't need multiple instances of Active MQ, just trying a HelloWorld using ActiveMQ. But i start i get the following below error
[email protected]:/srv/activemq/current$ /et
I would like to deploy ActiveMQ in order to connect and communicate with other MOM implementations of jms such as WebsphereMQ, Tibco EMS, Oracle WebLogic JMS etc. As far as I have researched online this seems to be possible by building a so-called br
Is there a message / queue browser for activeMQ available? I tried Hermes JMS, but it is not working for activeMQ 5.10, anymore. We need a browser where we can export a message into XML. Any suggestions? Thanks and regards.Hermes is able to connect t
I have a use case where I want to create multiple listeners(6) in an application. I want to subscribe to multiple destinations(6 topics). All the subscription are durable. I am using separate default message listener container(DMLC) for each listener
I am trying to configure Apache ActiveMQ 5.10.0 over SSL only and test for authentication and authorization on Windows7. In activemq.xml file I have <sslContext> <sslContext keyStore="file:${activemq.conf}/cert/broker.ks" keyStorePasswo
I am trying to use the embedded camel activemq broker. When I include the following xml in my Spring file, I get the error (more complete stack trace at bottom): Line 13 in XML document ... is invalid; ... The prefix "broker" for element "b
I am using .NET 3.5 to send message to active mq and i have a java listener which process these messages from the queue. Header contains userId - long type - string isAdd-bool Listener is expecting payload to be of datatype long. So i should send dat
I want to send data to Active my server constinuosly so I create two AsyncTask, one to connect to service (works fine) and other to send data. The problems is that second one produces this error: 04-09 12:29:00.039: E/AndroidRuntime(8397): FATAL EXCE
I am trying to start the activemq broker on a Windows machine by following the instructions at http://activemq.apache.org/getting-started.html#GettingStarted-StartingActiveMQ After downloading the Windows binaries, I changed to the installation direc
I need to send a continuous flow of messages (simple TextMessages with a timestamp and x/y coordinates) over a wireless network from a moving computer. There will be a lot of these short messages (like 200 per sec) and unfortunately the network conne
i was searching for a ready to use osgi bundle of activemq-client (5.9.0>=). It seems like the jar manifest does not contain any OSGi markup by default. I also came across the activemq-osgi bundle - which contains way too much stuff i will not need a
I'm actively using ActiveMQ in my project. Although production use standalone ActiveMQ instance my tests require embedded ActiveMQ instance. After execution of particular test method ActiveMQ holds unprocessed messages in queues. I'd like to wipe out
I have a general question about when to close connections that have been created within a stateless session bean (EJB). The connections are to ActiveMQ and they are created within the bean's constructor. The connection is then used within a method, a
i am using activeMQ to log something. the main code of sender class is like this: for (int i = 1; i <= 5; i++) { TextMessage message = session.createTextMessage("ActiveMq send" + i); System.out.println("send msg:" + "ActiveMq s
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 standalone
I have the spring jars of spring-3.2.0.RC1.jar and trying to implement Apache ActiveMQ helloWorld program from tutorial given here. The xml configuration file is: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns:jms="h
I'm using Camel 2.9.1 with Spring 3.1.1.RELEASE and ActiveMQ 5.5.1. I have a Swing GUI client which is using Camel JMS to make @InOut request-reply calls to a data service which is running in a bundle in a Karaf/Felix OSGi container on our server. Th
I don't have a specific query here ; just need some design guidelines. I came across this article on Node.js , MQTT and Websockets. I guess we can achieve similar purpose using Node/Java + ActiveMQ + Websockets. My query is how to select between MQ a
In brief: Looking for a Messaging platform for a small startup co. Please advise. Details: I am looking for a replacement to our messaging platform. The code already in place is JMS compliant. Currently - Apache ActiveMQ. Happy with its feature set.
When I run ActiveMQ by executing the batch file in its bin/ directory, I am able to go to its admin/management console by opening a web browser and going to http://localhost:8161/admin/. This has me curious. This is my local sandbox and I do not have
If I was building a system with dozens of publishers/subscribers using message queues, it seems I have a few network configuration options: I could have one clustered broker that all machines use - each machine would not have a local queue I could in
I have activemq installed and running locally, but when I run the following script, I get an error: #!/usr/bin/env python import time import sys import stomp class MyListener(object): def on_error(self, headers, message): print 'received an error %s'
I have a legacy application running on Glassfish which I have just recently configured to use activemq rather than openMQ. My activemq broker is running in a separate process outside of glassfish. I was thinking it would be nice to configure a camel
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: <New id="connectionFactory" class="org.mortbay.jetty.plus.
many weeks ago recommended me for send emails, ActiveMQ. So i search information about this, but i don't understand totally how this works. Could someone explain me why i should use ActiveMQ for send emails ?I think there has been a communication bre