Skip to content

Commit

Permalink
prepare new version
Browse files Browse the repository at this point in the history
  • Loading branch information
northlander committed Oct 24, 2015
1 parent 369d945 commit fdb5457
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ ConnectionFactory "connectionFactory". Otherwise, the name has to be supplied us

This way, you can even connect to non ActiveMQ/AMQP brokers. You simply need to provide a JNDI config and the client at classpath.

For an example connecting to IBM WebSphere MQ, check this out: http://www.thisintegration.com/use-a-with-websphere-mq/

#Build

$mvn install
Expand All @@ -110,7 +108,7 @@ For an example connecting to IBM WebSphere MQ, check this out: http://www.thisin
2. create a file called "a" on your path (~/bin/a or what have you)
```
#!/bin/sh
java -jar ~/bin/a-1.0.0-SNAPSHOT-jar-with-dependencies.jar "$@"
java -jar ~/bin/a-1.2.0-jar-with-dependencies.jar "$@"
```
3. chmod +x a
4. Run a from any place.
Expand All @@ -120,7 +118,7 @@ java -jar ~/bin/a-1.0.0-SNAPSHOT-jar-with-dependencies.jar "$@"
2. create a file called "a.bat" on your path, i.e. c:\bin
```
@echo off
java -jar c:\bin\a-1.0.0-SNAPSHOT-jar-with-dependencies.jar %*
java -jar c:\bin\a-1.2.0-jar-with-dependencies.jar %*
```
3. Run from any place.

Expand All @@ -129,6 +127,6 @@ java -jar c:\bin\a-1.0.0-SNAPSHOT-jar-with-dependencies.jar %*
Given you have a truststore and a keystore in JKS format, you can edit your a start script, or run it manually like this.
Note that the -Djavax parameters has to come before -jar.
```
java -Djavax.net.ssl.keyStore=/Users/petter/client.jks -Djavax.net.ssl.keyStorePassword=password -Djavax.net.ssl.trustStore=/Users/petter/truststore.jks -Djavax.net.ssl.trustStorePassword=password -jar a-1.0.2-jar-with-dependencies.jar -b ssl://example.org:61618 MY.QUEUE
java -Djavax.net.ssl.keyStore=/Users/petter/client.jks -Djavax.net.ssl.keyStorePassword=password -Djavax.net.ssl.trustStore=/Users/petter/truststore.jks -Djavax.net.ssl.trustStorePassword=password -jar a-1.2.0-jar-with-dependencies.jar -b ssl://example.org:61618 MY.QUEUE
```
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>co.nordlander.a</groupId>
<artifactId>a</artifactId>
<version>1.1.1-SNAPSHOT</version>
<version>1.2.0</version>

<properties>
<activemq.version>5.12.1</activemq.version>
Expand Down Expand Up @@ -134,8 +134,8 @@
<version>${activemq.version}</version>
<scope>test</scope>
</dependency>
<dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
Expand Down

0 comments on commit fdb5457

Please sign in to comment.