https://github.com/ibm-messaging/mqlight-fishalive-java
Java MQ Light fishalive sample
https://github.com/ibm-messaging/mqlight-fishalive-java
Last synced: 6 months ago
JSON representation
Java MQ Light fishalive sample
- Host: GitHub
- URL: https://github.com/ibm-messaging/mqlight-fishalive-java
- Owner: ibm-messaging
- License: epl-1.0
- Created: 2015-05-19T12:40:20.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-19T10:26:49.000Z (over 8 years ago)
- Last Synced: 2023-08-12T16:11:10.930Z (almost 2 years ago)
- Language: Java
- Size: 4.71 MB
- Stars: 1
- Watchers: 10
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IBM MQ Light Java Sample Application
This project contains Java samples demonstrating how to use the MQ Light
Service for Bluemix to write cloud apps which can perform worker offload.Check out the blog post at [IBM Messaging][ibm-messaging] for more info on this
sample.## Deploying to Bluemix
The sample can be used with the 'Message Hub' service. Pre-built binaries are included in this
source repository for convenience and can be deployed immediately.1. Create an instance of the service using either the Bluemix console or the
Bluemix cf command line tool.2. In the Message Hub service Dashboard, create a topic called "MQLight" with a single partition.
3. Edit the `manifest.yml` file in the root directory of the sample to reflect
the name of the service created above.```yml
services:
-
...
services:
-
```4. From the root directory of the sample use the Bluemix cf command line
tool to push the sample to Bluemix, as below:
```sh
$ cf push
```For further information about Bluemix command line tooling, see
[IBM Bluemix Command Line Tooling](https://www.ng.bluemix.net/docs/starters/install_cli.html)## Building (optional)
The following needs to be available:
* Java SDK v7.0 or later [with JAVA_HOME pointing to its install directory]
* MavenFrom the samples root directory:
```sh
cd frontend
mvn package
cd ../backend
mvn package
cd ..
```[ibm-messaging]: https://developer.ibm.com/messaging/2015/05/22/getting-started-with-java-apps-using-the-mq-light-service-for-bluemix/