jms pooled apache artemis source JMS Pooled - Apache Artemis Source

Provided by: "Apache Software Foundation"

Support Level for this Kamelet is: "Stable"

Receive data from an Apache Artemis message broker by using JMS Pooled Connection.

Configuration Options

The following table summarizes the configuration options available for the jms-pooled-apache-artemis-source Kamelet:

Property Name Description Type Default Example

brokerURL

Broker URL

Required The JMS URL.

string

tcp://my-host:61616

destinationName

Destination Name

Required The JMS destination name.

string

connectionIdleTimeout

Connection Idle Timeout

The maximum time a pooled Connection can sit unused before it is eligible for removal (in milliseconds).

int

30000

destinationType

Destination Type

The JMS destination type (queue or topic).

string

queue

maxIdleSessionsPerConnection

Max Idle Sessions Per Connection

The number of idle sessions allowed per connection before they are closed.

int

500

maxSessionsPerConnection

Max Session Per Connection

The maximum number of pooled sessions per connection in the pool.

int

500

password

Broker Password

The JMS Broker Password.

string

username

Broker Username

The JMS Broker Username.

string

Dependencies

At runtime, the jms-pooled-apache-artemis-source Kamelet relies upon the presence of the following dependencies:

  • camel:jms

  • camel:kamelet

  • mvn:org.apache.activemq:artemis-jakarta-client-all:2.35.0

  • mvn:io.quarkiverse.messaginghub:quarkus-pooled-jms:2.4.0

Camel JBang usage

Prerequisites

  • You’ve installed JBang.

  • You have executed the following command:

jbang app install camel@apache/camel

Supposing you have a file named route.yaml with this content:

- route:
    from:
      uri: "kamelet:jms-pooled-apache-artemis-source"
      parameters:
        .
        .
        .
      steps:
        - to:
            uri: "kamelet:log-sink"

You can now run it directly through the following command

camel run route.yaml