MQTT Send Example

Project for JCA modules that connect to various cloud services

License

License

Categories

Categories

Payara Container Application Servers
GroupId

GroupId

fish.payara.cloud.connectors.mqtt
ArtifactId

ArtifactId

mqtt-send-example
Last Version

Last Version

0.6.0
Release Date

Release Date

Type

Type

ejb
Description

Description

MQTT Send Example
Project for JCA modules that connect to various cloud services

Download mqtt-send-example

How to add to project

<!-- https://jarcasting.com/artifacts/fish.payara.cloud.connectors.mqtt/mqtt-send-example/ -->
<dependency>
    <groupId>fish.payara.cloud.connectors.mqtt</groupId>
    <artifactId>mqtt-send-example</artifactId>
    <version>0.6.0</version>
    <type>ejb</type>
</dependency>
// https://jarcasting.com/artifacts/fish.payara.cloud.connectors.mqtt/mqtt-send-example/
implementation 'fish.payara.cloud.connectors.mqtt:mqtt-send-example:0.6.0'
// https://jarcasting.com/artifacts/fish.payara.cloud.connectors.mqtt/mqtt-send-example/
implementation ("fish.payara.cloud.connectors.mqtt:mqtt-send-example:0.6.0")
'fish.payara.cloud.connectors.mqtt:mqtt-send-example:ejb:0.6.0'
<dependency org="fish.payara.cloud.connectors.mqtt" name="mqtt-send-example" rev="0.6.0">
  <artifact name="mqtt-send-example" type="ejb" />
</dependency>
@Grapes(
@Grab(group='fish.payara.cloud.connectors.mqtt', module='mqtt-send-example', version='0.6.0')
)
libraryDependencies += "fish.payara.cloud.connectors.mqtt" % "mqtt-send-example" % "0.6.0"
[fish.payara.cloud.connectors.mqtt/mqtt-send-example "0.6.0"]

Dependencies

provided (2)

Group / Artifact Type Version
fish.payara.cloud.connectors.mqtt : mqtt-jca-api jar 0.6.0
jakarta.platform : jakarta.jakartaee-api jar 8.0.0

test (1)

Group / Artifact Type Version
org.testng : testng jar 7.0.0

Project Modules

There are no modules declared in this project.

Payara Cloud Connectors

Payara Cloud Connectors is a project to provide JavaEE standards based connectivity to common Cloud infrastructure. Utilising JCA we provide connectivity to many different services provided by the leading cloud providers and open source technologies. Payara Cloud Connectors enable the creation of Cloud Native applications using JavaEE apis with the ability to build Event Sourcing and Message Driven architectures simply on public clouds.

Payara Cloud Connectors are proven to work with Payara Server and Payara Micro 172+. The JCA connectors should work on other Java EE 7 application servers as they do not use any Payara specific code.

Currently we have JCA adapters for;

  • Apache Kafka - sending messages using a Connection Factory and receiving messages via an MDB
  • Amazon SQS - sending messages using a Connection Factory and receiving messages via an MDB to Amazon Simple Queue Service queues.
  • MQTT - sending messages using a Connection Factory and receiving messages via an MDB to an MQTT broker or to IOT hubs that support MQTT.
  • Azure Service Bus - Sending and receiving messages to/from Azure Service Bus Queues using ConnectionFactory via MDB

Why Use JCA

One of the benefits of using these JCA adapters rather than crafting your own clients, using the standard apis for the messaging technologies, is that the JCA adapters are fully integrated into your Java EE environment. That means your JavaEE application can use familiar JavaEE constructs such as Message Driven Beans and Connection Factories. Using MDBs to receive messages means that any threads are automatically provided via the Java EE application server which means they can take advantage of Container Transactions, Security, integration with EJBs, CDI and the full range of Java EE components. Connection factories for outbound messaging also benefit from connection pooling and configuration via the administration console or via annotations in your code.

fish.payara.cloud.connectors.mqtt

Payara Foundation

Payara Foundation is a UK Not for Profit organisation that organises the development and promotion of Payara Server.

Versions

Version
0.6.0
0.5.0
0.4.0