summaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2014-05-06 22:03:39 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2014-05-06 22:03:39 +0200
commit7e2d2c074c3f09266dda31c772f4bec61e8d5742 (patch)
treeceda3ff6e8f0fc968915adb5c94afe2b783ddbea /src/test/java
parent5c762750101f12abd51621355a871e42fd9c7a33 (diff)
downloadactivemq-plugin-7e2d2c074c3f09266dda31c772f4bec61e8d5742.tar.gz
activemq-plugin-7e2d2c074c3f09266dda31c772f4bec61e8d5742.tar.bz2
activemq-plugin-7e2d2c074c3f09266dda31c772f4bec61e8d5742.tar.xz
activemq-plugin-7e2d2c074c3f09266dda31c772f4bec61e8d5742.zip
o Support for listening on messages too.
o Configurable topic name.
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/jenkinsci/plugins/activemq/MessageListenerMain.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/jenkinsci/plugins/activemq/MessageListenerMain.java b/src/test/java/org/jenkinsci/plugins/activemq/MessageListenerMain.java
index ed7def3..a2bd76f 100644
--- a/src/test/java/org/jenkinsci/plugins/activemq/MessageListenerMain.java
+++ b/src/test/java/org/jenkinsci/plugins/activemq/MessageListenerMain.java
@@ -21,7 +21,7 @@ public class MessageListenerMain {
System.out.println("Connected");
Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
- Topic topic = session.createTopic(ActiveMqClient.TOPIC_NAME);
+ Topic topic = session.createTopic("pipeline");
MessageConsumer consumer = session.createConsumer(topic);
while (true) {