An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

JFR JMS [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.marschall/jfr-jms/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.marschall/jfr-jms) [![Javadocs](https://www.javadoc.io/badge/com.github.marschall/jfr-jms.svg)](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.