How to configure the default ActiveMQ in tomEE - activemq

I'm very new to ActiveMQ, and would like to have some help in setting up the default internal ActiveMQ broker of tomEE. To be specific, any sample of TOMEE.xml would be very helpful.

Did you already have a look to http://tomee.apache.org/jms-resources-and-mdb-container.html ?

Related

ActiveMQ Bridge Configuration for Solace

I have a requirement to create a bridge between a Queue in ActiveMQ and a Queue in Solace. When ever there is a message in ActiveMQ Queue it should automatically get transferred to SolaceQ.
I'm struggling to find the steps for this configuration. I have ActiveMQ installed on my local machine. Request you to please throw some light on this.
FYI: I'm very new to ActiveMQ/Solace
I think you'll need to do this via JMS since both ActiveMQ and Solace support it. Check out ActiveMQ's docs here: https://activemq.apache.org/jms-to-jms-bridge

Can I restart ActiveMQ without having to restart Mule?

We have ActiveMQ and mySQL installed on a separate server to our Mule ESB. When the JMS connection drops out, it restarts, but we lose the link.
I'm wondering if i've missed something obvious in a settings file here, but is it possible to not have to restart the Mule server as well as the ActiveMQ server? If I restart or lose connection to ActiveMQ, it loses the link until I restart the mule server.
You might want to use reconnect strategy in this case.
Refer to the following link for Mule Reconnect Strategy and how to configure it.
https://docs.mulesoft.com/mule-runtime/4.1/reconnection-strategy-reference
Hope this helps.

ActiveMQ Artemis read messages without consuming it in JMeter

I want to know if it is possible to read queue messages in ActiveMQ Artemis without consuming or removing it using JMeter.
I have find similar question Here. But I really don't know how to configure it in JMeter. I'm new in it.
In a normal JMS client you'd do this using a QueueBrowser. However, JMeter doesn't support this. It only supports:
JMS Publisher
JMS Subscriber
JMS Point-to-Point

Does ActeiveMQ require zookeeper anymore?

I'm investigating the usage of some message broker that does not depend on any external services. I hit upon ActiveMQ which was using replicated LevelDB and that apparently required ZooKeeper services. With ActiveMQ now switching to KahaDB, is zookeeper still required for using ActiveMQ ?
Any recommendations on what the best message broker would be, my deployment does not deal with high scale pub-sub. I'm looking for something very lightweight that can support reliable message delivery, persistent messages and HA.
I found the answer to my own question
http://activemq.apache.org/kahadb-master-slave.html
yes, even KahaDB requires zookeeper at the moment
ActiveMQ does not require ZooKeeper to run, the default store KahaDB does not have a replication feature such as that in LevelDB and so does not need any ZooKeeper instances.
For HA you might want to look into ActiveMQ Artemis which offers solutions beyond what exists in ActiveMQ proper.

How to Configure Ehcache JMX Monitoring on JBoss

I am using Ehcache in my application. I need to monitor cache statistics using JMX. Ehcache provides an api net.sf.ehcache.management for the same.
Please let me know, how to proceed further?
Documentation on this topic can be found here, it should give you insights on what you need to do.