Skip to content

Commit

Permalink
Added JMS source kamelet for AMQP 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
orpiske committed Jun 14, 2021
1 parent 26653c8 commit b43c07e
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions jms-amqp-10.source.kamelet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
apiVersion: camel.apache.org/v1alpha1
kind: Kamelet
metadata:
name: jms-amqp-10-source
annotations:
camel.apache.org/kamelet.support.level: "Preview"
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/catalog.version: "main-SNAPSHOT"
camel.apache.org/kamelet.group: "JMS"
labels:
camel.apache.org/kamelet.type: "source"
spec:
definition:
title: "JMS - AMQP 1.0 JMS Kamelet"
description: "A Kamelet that can consume events from any AMQP 1.0 compliant message broker using the Apache Qpid JMS client"
required:
- destinationName
- brokerURL
type: object
properties:
destinationType:
title: "Destination Type"
description: "The JMS destination type (i.e.: queue or topic)"
type: string
default: queue
destinationName:
title: "Destination Name"
description: "The JMS destination name"
type: string
brokerURL:
title: "Broker URL"
description: "The JMS URL"
type: string
dependencies:
- "camel:jms"
- "camel:kamelet"
- "mvn:org.apache.qpid:qpid-jms-client:jar:1.0.0"
flow:
beans:
- name: connectionFactoryBean
type: "#class:org.apache.qpid.jms.JmsConnectionFactory"
property:
- key: remoteURI
value: '{{remoteURI}}'
from:
uri: "kamelet-reify:jms:{{destinationType}}:{{destinationName}}"
parameters:
connectionFactory: "#bean:{{connectionFactoryBean}}"
steps:
- to:
uri: "kamelet:sink"

0 comments on commit b43c07e

Please sign in to comment.