I’m running an ActiveMQ broker (version 5.15.12 and later downgraded to 5.15.8) on a windows server on which several local applications are running that are connecting. During heavier than average load on ActiveMQ, it happens regularly that the initial connection to ActiveMQ cannot be made by the applications (all (10) application seem to be affected evenly). On average, the web
Tag: activemq
Difference between “camel-activemq” vs “activemq-camel”
We are upgrading our system to newest stable frameworks/libraries. However, i found difficulty in understand between these two camel-activemq vs activemq-camel. Below are details: We are upgrading ActiveMQ to 5.16.2 version. Here AMQ provides “activemq-camel” libraries with its own camel dependencies like: Also, we are planning to migrate a service which runs on camel-2.x to 3.11.3. Here i see camel
ActiveMQ batch consumer
I have a requirement to consume the messages from the ActiveMQ topic and persist them in mongo. I am wondering if there is a way/configuration for consuming the messages in batch from the topic instead of reading messages one by one and making a DB call for every message. I am imagining the end solution will do something like: Consumes
Spring and JMS DynamicDestinationResolution
I am using the latest Spring 4 and ActiveMQ to put JMS messages on a queue. Using the JMSTemplate, I have a default queue, and the sample code I have lets me put a message on the default queue with …
Better way to wait to receive Async messages in ActiveMQ
I have used ActiveMQ to Send messages and Receive them Asynchronously. There, I’m having a problem with deciding the best way to waiting in the for messages. Sleeping thread in a loop is one option. But it feels doesn’t look good for me. Can anyone suggest a better way for this. AsyncReceiver.java Sender.java Answer There are two ways to process/consume
ActiveMQ setup – Unable to send the message to Queue (error – java.io.IOException: Unknown data type: 47)
I have installed ActiveMQ and could access the url at – http://localhost:8161/admin/queues.jsp. When I try to drop a message to a queue I am getting the below error. The sample code is given below: Spring xml is: Error is: Answer The ‘Unknown data type: 47’ error is due to the configuration you are using for the following broker URL: The
Spring JMS(ActiveMQ) delayed delivery of messages
We’re trying to set a delay on some JMS messages, so that a message will only be added to the queue/ received by the listener after x time. So far we’ve tried 2 approaches that didn’t work. 1) …
How to import an existing X.509 certificate and private key in Java keystore to use in SSL?
I have this in an ActiveMQ config: I have a pair of X.509 cert and a key file. How do I import those two in order to use them in SSL and SSL+stomp connectors? All examples I could google always generate the key themselves, but I already have a key. I have tried but this only imports the certificate and