https://github.com/marschall/jfr-jms
a JMS driver that generates JFR events
https://github.com/marschall/jfr-jms
java java-flight-recorder jms
Last synced: 9 days ago
JSON representation
a JMS driver that generates JFR events
- Host: GitHub
- URL: https://github.com/marschall/jfr-jms
- Owner: marschall
- Created: 2019-07-07T08:45:37.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-05-23T08:24:28.000Z (about 3 years ago)
- Last Synced: 2025-05-07T23:02:53.228Z (about 1 year ago)
- Topics: java, java-flight-recorder, jms
- Language: Java
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
JFR JMS [](https://maven-badges.herokuapp.com/maven-central/com.github.marschall/jfr-jms) [](https://www.javadoc.io/doc/com.github.marschall/jfr-jms)
=======
A JMS driver that wraps an other JDBC driver and generates JFR events.
```xml
com.github.marschall
jfr-jms
0.1.0-SNAPSHOT
```
Usage
-----
Simply wrap your `ConnectionFactory` with a `JfrConnectionFactory`
```java
new JfrConnectionFactory(connectionFactory)
```
or your `JMSContext` with a `JfrJMSContext`
```java
new JfrJMSContext(jmsContext)
```
Implementation/Overhead
-----------------------
The implementation is based around wrapper objects.
* no reflection
* no string concatenation
We assume `javax.jms.Queue#getQueueName()` and `javax.jms.Topic#getTopicName()` are simple getters.