sbproxy

Azure Service Bus to ZeroMQ proxy

License

License

GroupId

GroupId

org.plannerstack
ArtifactId

ArtifactId

sbproxy
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

sbproxy
Azure Service Bus to ZeroMQ proxy
Project URL

Project URL

https://github.com/plannerstack/sbproxy
Project Organization

Project Organization

PlannerStack
Source Code Management

Source Code Management

https://github.com/plannerstack/sbproxy

Download sbproxy

How to add to project

<!-- https://jarcasting.com/artifacts/org.plannerstack/sbproxy/ -->
<dependency>
    <groupId>org.plannerstack</groupId>
    <artifactId>sbproxy</artifactId>
    <version>1.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.plannerstack/sbproxy/
implementation 'org.plannerstack:sbproxy:1.2.0'
// https://jarcasting.com/artifacts/org.plannerstack/sbproxy/
implementation ("org.plannerstack:sbproxy:1.2.0")
'org.plannerstack:sbproxy:jar:1.2.0'
<dependency org="org.plannerstack" name="sbproxy" rev="1.2.0">
  <artifact name="sbproxy" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.plannerstack', module='sbproxy', version='1.2.0')
)
libraryDependencies += "org.plannerstack" % "sbproxy" % "1.2.0"
[org.plannerstack/sbproxy "1.2.0"]

Dependencies

compile (7)

Group / Artifact Type Version
com.microsoft.windowsazure : microsoft-windowsazure-api jar 0.4.4
org.jeromq : jeromq jar 0.2.0
com.google.guava : guava jar 14.0.1
args4j : args4j jar 2.0.25
org.slf4j : slf4j-api jar 1.7.5
ch.qos.logback : logback-classic jar 1.0.13
ch.qos.logback : logback-core jar 1.0.13

test (3)

Group / Artifact Type Version
junit : junit jar 4.11
org.powermock : powermock-module-junit4 jar 1.5.1
org.powermock : powermock-api-mockito jar 1.5.1

Project Modules

There are no modules declared in this project.

Azure Service Bus to ZeroMQ proxy

Build Status

This tool receives messages from a Azure Service Bus topic subscription and forwards them to a ZeroMQ socket.

Building

The project uses Maven for its life-cycle management. Build the JAR file with the following command:

mvn package

Running the proxy

In the Maven package phase an artifact named sbproxy-VERSION-shaded.jar will be created that contains all dependencies and can be used as a stand-alone command line tool:

java -jar target/sbproxy-VERSION-shaded.jar

The proxy is configured using a properties file named sbproxy.properties in the current directory. You can change the location of the properties file using the -c command line option:

java -jar target/sbproxy-VERSION-shaded.jar -c /etc/sbproxy.properties

A skeleton properties file is distributed with the project source in src/main/resources/sbproxy.properties-distrib.

Installing as a service

An Upstart script template is provided in src/main/resources/upstart.conf. In the Maven process-resources phase this file is copied and variable-expanded in target/classes/upstart.conf. Install the shaded JAR file in /usr/local/share/java, configure the proxy in /etc/sbproxy.properties and copy the Upstart script to /etc/init/sbproxy.conf. Then run the following command to start the sbproxy service:

start sbproxy

You can find the logs at /var/log/upstart/sbproxy.log. They should be rotated automatically.

org.plannerstack

PlannerStack

Versions

Version
1.2.0