VMware Tanzu Samples

Here, you will find walk-through sample applications that will help you get started with Solace PubSub+ for VMware Tanzu.

Overview

Solace PubSub+ for VMware Tanzu provides high-performance, robust, enterprise-grade messaging technology over a wide variety of open protocols (including JMS, MQTT, REST, WebSocket), qualities of service (best-effort, guaranteed, transactions), and messaging patterns (publish/subscribe, request/reply, streaming, fan-in/fan-out).

Solace PubSub+ event brokers support MQTT, which enable devices and applications running outside of VMware Tanzu to connect with Solace Messaging services running in VMware Tanzu by using the TCP Routes feature. This feature provides endpoints that allow external connections. For more information, refer to the MQTT Tutorial.The Solace PubSub+ for VMware Tanzu documentation describes the TCP Routes feature.

Solace Messaging supports High Availability (HA) configurations, where each event broker is assigned a backup that takes over in case of failures. Details about how to use this feature are in the Java Application tutorial. Be sure to read the API Best Practices and Configuring Connection Time-Outs and Retries documents.

If you are new to Solace PubSub+ for VMware Tanzu, here are a few links to get you started:

Tutorials

The goal of these sample applications is to illustrate various ways of consuming the `VCAP_SERVICES` environment variable from a Solace PubSub+ for VMware Tanzu service instance.

Java

A Java Application showing how to consume the VCAP_SERVICES environment variable.

Spring Cloud

A simple application showing how to consume the VCAP_SERVICES using Spring Cloud Connectors.

Spring Cloud Auto-Config Java

Consume Solace PubSub+ messaging as a Service provided by Solace Spring Java Auto-Configuration.

Spring Cloud Auto-Config JMS

Consume Solace PubSub+ messaging as a Service provided by Solace Spring JMS Auto-Configuration.

Spring Cloud Auto-Config JNDI

Consume Solace PubSub+ messaging as a Service provided by Solace Spring JMS Auto-Configuration using JNDI.

Secure Session

A sample showing how to connect with the Solace PubSub+ messaging service using Transport Level Security

Configuring LDAP

How to setup an LDAP Server to work with Solace PubSub+ event brokers and some examples on how LDAP auth works.

TCP Routes for IoT-MQTT Java App

A simple application showing how to consume a SERVICE KEY for Solace PubSub+ messaging when using TCP Routes.