Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The sample applications specify a dependency on a Solace Messaging service insta

### Building

Just clone and build. For example:
Just clone and build. For example:

1. clone this GitHub repository
1. `./gradlew build`
Expand Down Expand Up @@ -66,12 +66,12 @@ The easiest way for applications to access the SolaceServiceCredentials object i
CloudFactory cloudFactory = new CloudFactory();
Cloud cloud = cloudFactory.getCloud();
SolaceServiceCredentials solaceServiceCredentials = (SolaceServiceCredentials) cloud.getServiceInfo("MyService");

Alternatively applications could search through the environment and discover matching services as follows:

SolaceServiceCredentials solaceServiceCredentials = null;
List<ServiceInfo> services = cloud.getServiceInfos();

// Connect to the first Solace-Messaging service that is found in the services list.
for (ServiceInfo service : services) {
if (service instanceof SolaceServiceCredentials) {
Expand All @@ -96,7 +96,7 @@ Transport Level Security (TLS) between the Java application and the Solace Messa

## LDAP

This is not a standalone application, but instead a modification to the existing sample apps.
This is not a standalone application, but instead a modification to the existing sample apps.

If application access is enabled by the cloud operator, bindings will not contain application access credentials and the credentials will instead have to be provided to the application externally.

Expand Down Expand Up @@ -128,7 +128,7 @@ The message is received asynchronously, check for the last message.

Unsubscribe the application from topic "test"

curl -X DELETE -H "Content-Type: application/json;charset=UTF-8" -d '{"subscription": "test"}' http://$APP_URL/subscription
curl -X DELETE http://$APP_URL/subscription/test

## Contributing

Expand Down
75 changes: 71 additions & 4 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
title: Solace Messaging with Pivotal Cloud Foundry
summary: These tutorials walk through Java Sample applications to introduce you to Solace Messaging for Pivotal Cloud Foundry.
baseurl: "/solace-samples-cloudfoundry-java" # the subpath of your site, e.g. /solace-samples-java
repository: //github.com/SolaceSamples/solace-samples-cloudfoundry-java

# Also see _includes/intro.html to customize the description which gets included in index.html.
repository: //github.com/SolaceSamples/solace-samples-cloudfoundry-java # Also see _includes/intro.html to customize the description which gets included in index.html.

# Solace JCSMP and JMS Versions
jcsmp_version: 10.+
jms_version: 10.+

# Links
hostname: cloud.solace.com
dev-hostname: dev.solace.com
links-docs-core-concepts: //docs.solace.com/Features/Core-Concepts.htm
links-downloads: //dev.solace.com/downloads/
links-pubsub-tutorial: //dev.solace.com/get-started/java-tutorials/publish-subscribe_java/
Expand Down Expand Up @@ -50,8 +50,75 @@ links-ext-github-solace-jms-properties-java: //github.com/SolaceProducts/solace-
links-ext-spring-jndi-template: //docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/jndi/JndiTemplate.html
links-ext-solace-jms-spring-boot-application-properties-section: //github.com/SolaceProducts/solace-jms-spring-boot#updating-your-application-properties
links-jms-persistence-tutorial: //dev.solace.com/samples/solace-samples-jms/persistence-with-queues/
docs-vmr-setup: //docs.solace.com/Solace-VMR-Set-Up/Setting-Up-VMRs.htm
solace-apis-dev:
- value: //dev.solace.com/get-started/c-tutorials/
name: C
- value: //dev.solace.com/get-started/dotnet-tutorials/
name: C#/.NET
- value: //dev.solace.com/get-started/java-tutorials/
name: Java
- value: //dev.solace.com/get-started/java-rto-tutorials/
name: Java RTO
- value: //dev.solace.com/get-started/javascript-tutorials/
name: JavaScript
- value: //dev.solace.com/get-started/node-js-tutorials/
name: Node.js
open-apis-dev:
- value: //dev.solace.com/get-started/amqp-tutorials-jms-11/
name: AMQP - JMS 1.1
- value: //dev.solace.com/get-started/amqp-tutorials-jms-2/
name: AMQP - JMS 2.0
- value: //dev.solace.com/get-started/amqp-tutorials-node-js/
name: AMQP - Node.js
- value: //dev.solace.com/get-started/mqtt-tutorials/
name: MQTT - Eclipse Paho Java
- value: //dev.solace.com/get-started/amqp-tutorials-jms-11/
name: JMS 1.1 - Apache Qpid
- value: //dev.solace.com/get-started/amqp-tutorials-jms-2/
name: JMS 2.0 - Apache Qpid
- value: //dev.solace.com/get-started/jms-tutorials/
name: JMS 1.1 - Solace
- value: //dev.solace.com/get-started/openmama-tutorials/
name: OpenMAMA
- value: //dev.solace.com/get-started/rest-tutorials/
name: REST Messaging
other-environments-dev:
- value: //dev.solace.com/get-started/pcf-tutorials/
name: Pivotal Cloud Foundry


solace-apis-cloud:
- value: //cloud.solace.com/samples/solace-samples-c/
name: C
- value: //cloud.solace.com/samples/solace-samples-dotnet/
name: C#/.NET
- value: //cloud.solace.com/samples/solace-samples-java/
name: Java
- value: //cloud.solace.com/samples/solace-samples-javarto/
name: Java RTO
- value: //cloud.solace.com/samples/solace-samples-javascript/
name: JavaScript
- value: //cloud.solace.com/samples/solace-samples-nodejs/
name: Node.js
open-apis-cloud:
- value: //cloud.solace.com/samples/solace-samples-amqp-qpid-jms1/
name: AMQP - JMS 1.1
- value: //cloud.solace.com/samples/solace-samples-amqp-qpid-jms2/
name: AMQP - JMS 2.0
- value: //cloud.solace.com/samples/solace-samples-amqp-nodejs/
name: AMQP - Node.js
- value: //cloud.solace.com/samples/solace-samples-mqtt/
name: MQTT - Eclipse Paho Java
- value: //cloud.solace.com/samples/solace-samples-amqp-qpid-jms1/
name: JMS 1.1 - Apache Qpid
- value: //cloud.solace.com/samples/solace-samples-amqp-qpid-jms2/
name: JMS 2.0 - Apache Qpid
- value: //cloud.solace.com/samples/solace-samples-jms/
name: JMS 1.1 - Solace
- value: //cloud.solace.com/samples/solace-samples-openmama/
name: OpenMAMA
- value: //cloud.solace.com/samples/solace-samples-rest-messaging/
name: REST Messaging

#----------------------------------------------------
# Generally don't modify items below this point
Expand Down
32 changes: 32 additions & 0 deletions docs/_includes/dev-solace-dependency.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<link rel="stylesheet" href="{{ "/css/materialize.min.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/css/solace-common.css" | prepend: site.baseurl }}">

<link rel="stylesheet" href="//{{site.dev-hostname}}/wp-content/uploads/dynamic_avia/enfold_child.css?ver=5b042aff8330f">
<link rel="stylesheet" href="{{ "/css/enfold-child-style.css" | prepend: site.baseurl }}">


<style type="text/css">
@font-face {font-family: 'entypo-fontello'; font-weight: normal; font-style: normal;
src: url('{{ "/css/entypo-fontello.woff" | prepend: site.baseurl }}') format('woff'),
url('//3u6cmn2fbv4r1slybd2uhm1e.wpengine.netdna-cdn.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.svg?v=3#entypo-fontello') format('svg');
} #top .avia-font-entypo-fontello, body .avia-font-entypo-fontello, html body [data-av_iconfont='entypo-fontello']:before{ font-family: 'entypo-fontello'; }
</style>


<!-- google webfont font replacement -->
<link rel='stylesheet' id='avia-google-webfont' href='//fonts.googleapis.com/css?family=Quicksand%7COpen+Sans:400,600' type='text/css' media='all'/>
<link rel='stylesheet' id='avia-grid-css' href='//{{site.dev-hostname}}/wp-content/themes/enfold/css/grid.css?ver=4.1' type='text/css' media='all' />
<link rel='stylesheet' id='avia-layout-css' href='//{{site.dev-hostname}}/wp-content/themes/enfold/css/layout.css?ver=4.1' type='text/css' media='all' />
<link rel='stylesheet' id='avia-scs-css' href='//{{site.dev-hostname}}/wp-content/themes/enfold/css/shortcodes.css?ver=4.1' type='text/css' media='all' />
<script type='text/javascript' src='//{{site.dev-hostname}}/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script>
<script type='text/javascript' src='//{{site.dev-hostname}}/wp-content/themes/enfold/js/avia.js?ver=3'></script>
<script type='text/javascript' src='//{{site.dev-hostname}}/wp-content/themes/enfold/js/aviapopup/jquery.magnific-popup.min.js?ver=2'></script>

<script>
function openOffer() {
SI_API.showPopup();
}
</script>


<link rel="stylesheet" href="{{ "/css/dev-solace.css" | prepend: site.baseurl }}">
27 changes: 27 additions & 0 deletions docs/_includes/dev-solace-footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<div class="container_wrap footer_color" id="footer" style="background-image:none;">
<div class="container">
<div class="flex_column av_one_third first el_before_av_one_third">
<section id="text-2" class="widget clearfix widget_text">
<div class="textwidget">
<div style="margin-top:35px; width:800px;">
<p style="font-size:12px !important; margin-top:5px; color:#fff">Copyright © Solace Corporation &nbsp;|&nbsp;&nbsp;
<a href="https://solace.com/legal">Legal</a> | <a href="https://solace.com/company">About Us</a>
</p>
</div>
</div>
<span class="seperator extralight-border"></span>
</section>
</div>
<div class="flex_column av_one_third el_after_av_one_third el_before_av_one_third "></div>
<div class="flex_column av_one_third el_after_av_one_third el_before_av_one_third ">
<section id="text-6" class="widget clearfix widget_text">
<div class="textwidget" style="margin:15px 0;">
<a href="http://facebook.com/solacedotcom" target="_blank" style="position: relative; overflow: hidden;"><img src="//{{site.dev-hostname}}/wp-content/uploads/2018/05/facebook.png" width="50" height="50"><span class="image-overlay overlay-type-extern"><span class="image-overlay-inside"></span></span></a>
<a href="https://www.linkedin.com/company/solacedotcom" target="_blank" style="position: relative; overflow: hidden;"><img src="//{{site.dev-hostname}}/wp-content/uploads/2018/05/linkedin.png" width="50" height="50"><span class="image-overlay overlay-type-extern"><span class="image-overlay-inside"></span></span></a>
<a href="http://twitter.com/solacedotcom" target="_blank" style="position: relative; overflow: hidden;"><img src="//{{site.dev-hostname}}/wp-content/uploads/2018/05/twitter.png" width="50" height="50"><span class="image-overlay overlay-type-extern"><span class="image-overlay-inside"></span></span></a>
<a href="http://youtube.com/SolaceSystems" target="_blank" style="position: relative; overflow: hidden;"><img src="//{{site.dev-hostname}}/wp-content/uploads/2018/05/youtube.png" width="50" height="50"><span class="image-overlay overlay-type-video"><span class="image-overlay-inside"></span></span></a>
</div>
</section>
</div>
</div>
</div>
Loading