Skip to content

Commit

Permalink
Remove _JAVA_OPTIONS output in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mapingo committed Sep 15, 2017
1 parent 1fd0b01 commit 396eae7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on [Keep a CHANGELOG](http://keepachangelog.com/). This project adheres to

## [Unreleased]

### Fix
- Browse fails with exception if browsing large messages. Now uses JMS QueueBrowser instead of JMX for browsing of messages.

## [1.0.0] - 2017-01-06

### Added
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@


## Browse DLQ
####Note: Browse uses JMS to connect and browse the dead letter queue, while Remove and Reprocess use JMX for connection.

_java -jar artemis-manager.jar browse -host localhost -port 3000 -brokerName default_
_java -jar artemis-manager.jar browse -host localhost -port 61616 -brokerName default_

* port - jmx port
* port - JMS tcp port
* brokerName - name of the broker configured in the broker.xml, use _default_ if no specific broker configuration provided

## Remove Message from DLQ
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
public class ArtemisManagerIT {

private static final String DLQ = "DLQ";
private static final String COMMAND_LINE_BROWSE = "java -jar target/artemis-manager.jar browse -host localhost -port 61616 -brokerName 0.0.0.0";
private static final String COMMAND_LINE_REPROCESS = "java -jar target/artemis-manager.jar reprocess -host localhost -port 3000 -brokerName 0.0.0.0";
private static final String COMMAND_LINE_REMOVE = "java -jar target/artemis-manager.jar remove -host localhost -port 3000 -brokerName 0.0.0.0";
private static final String COMMAND_LINE_BROWSE = "env -u _JAVA_OPTIONS java -jar target/artemis-manager.jar browse -host localhost -port 61616 -brokerName 0.0.0.0";
private static final String COMMAND_LINE_REPROCESS = "env -u _JAVA_OPTIONS java -jar target/artemis-manager.jar reprocess -host localhost -port 3000 -brokerName 0.0.0.0";
private static final String COMMAND_LINE_REMOVE = "env -u _JAVA_OPTIONS java -jar target/artemis-manager.jar remove -host localhost -port 3000 -brokerName 0.0.0.0";

@BeforeClass
public static void beforeClass() throws JMSException {
Expand Down

0 comments on commit 396eae7

Please sign in to comment.