View on GitHub

Getting Started Samples

Solace Messaging with Pivotal Cloud Foundry

These tutorials walk through Java Sample applications which aim to introduce you to Solace Messaging for Pivotal Cloud Foundry. The goal of these sample applications is to illustrate various ways of consuming the `VCAP_SERVICES` environment variable from a Solace Messaging Cloud Foundry service instance. What follows is a brief introduction to Solace Messaging in Pivotal Cloud Foundry (PCF) and links for easy wasy to learn more. If you're familiar with Pivotal Cloud Foundry, jump straight to the Getting Started tutorials.

Solace Messaging for Pivotal Cloud Foundry 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, fanin/fanout).

Solace Messaging is available in a number of network and deployment environments including Public/Private PaaS, Public/Private IaaS, LAN, WAN, Web, and Wireless ensuring your applications will have Solace Messaging available to them wherever they are deployed.

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

Here are a few links you might find interesting if you are new to Solace Messaging in Pivotal Cloud Foundry:

  1. GitHub code for the Getting Started samples
  2. How to download Solace Messaging for PCF
  3. The Solace Messaging in PCF Documentation
  4. A demo application using Solace Messaging for PCF
  5. Best Practices for developing applications that use Solace Messaging
  6. Configuring Connection Time-Outs and Retries

Java Application

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

Start Tutorial
Java Application

Spring Cloud

A Simple Spring Cloud Application showing how to consume the VCAP_SERVICES using Spring Cloud Connectors.

Start Tutorial
Spring Cloud

Secure Session

A sample showing how to connect with the Solace Messaging service using Transport Level Security (TLS).

Start Tutorial
Secure Session