Code Monkey home page Code Monkey logo

quarkus-activemq-jms's Introduction

Quarkus ActiveMQ JMS Extension

An extension which facilitates use of the Openwire JMS client from Apache ActiveMQ as part of a Quarkus application, including those using native executable builds.

Use JMS APIs with Openwire 1.0 servers such as ActiveMQ 5 and more.

Sample Usage

See the quarkus-activemq-jms-quickstart repository for sample application usage of the extension.

Overview

To use the extension, add the io.quarkiverse.activemq-jms:quarkus-activemq-jms module as a dependency in your project, e.g:

<dependency>
    <groupId>io.quarkiverse.activemq-jms</groupId>
    <artifactId>quarkus-activemq-jms</artifactId>
</dependency>

The client can then be utilised though dependency injection of a JMS ConnectionFactory, e.g:

@Inject
ConnectionFactory connectionFactory;

Configuration

The connection factory configuration is controlled using runtime config properties, e.g in your application.properties file:

Config Property Description Default
quarkus.activemq-jms.url Connection URL for the injected factory "tcp://localhost:61616"
quarkus.activemq-jms.username Optional username to set on the factory
quarkus.activemq-jms.password Optional password to set on the factory
quarkus.activemq-jms.wrap Allow factory to be wrapped (see below) false

For full details of the client URL and its related options, consult the configuration documentation on the Apache ActiveMQ website.

Factory wrapping, e.g. Pooling.

The quarkus.activemq-jms.wrap setting can allow the ActiveMQ JMS extension to apply a ConnectionFactory wrapper supplied by another extension to the injected ConnectionFactory. For example, setting this value to true and adding an additional dependency on quarkus-pooled-jms to your application allows quarkus-pooled-jms to provide pooling for the injected ConnectionFactory.

quarkus-activemq-jms's People

Contributors

dependabot[bot] avatar sekaijin avatar jyterrien avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.