This commit is contained in:
Clebert Suconic 2018-04-17 15:10:15 -04:00
commit ec9882c553
3 changed files with 36 additions and 32 deletions

View File

@ -7,7 +7,11 @@ before_install: rm -rf $HOME/.m2/repository/org/apache/activemq/artemis-*
# use 'install' so smoke-tests will work # use 'install' so smoke-tests will work
# use '-Pextra-tests' to ensure extra-tests compiles even though they won't actually run # use '-Pextra-tests' to ensure extra-tests compiles even though they won't actually run
script: mvn -Pfast-tests -Pextra-tests -B install script:
- set -e
- mvn -Pfast-tests -Pextra-tests -B install -q
- cd examples
- mvn install -Prelease install -B -q
cache: cache:
directories: directories:

View File

@ -157,6 +157,7 @@ cd $ARTEMIS_HOME/examples/protocols/openwire/
cd queue; mvn verify; cd .. cd queue; mvn verify; cd ..
cd message-listener; mvn verify; cd .. cd message-listener; mvn verify; cd ..
cd message-recovery; mvn verify; cd .. cd message-recovery; mvn verify; cd ..
cd virtual-topic-mapping; mvn verify; cd ..
cd $ARTEMIS_HOME/examples/protocols/stomp/ cd $ARTEMIS_HOME/examples/protocols/stomp/

View File

@ -49,7 +49,6 @@ public class VirtualTopicMappingExample {
MessageConsumer messageConsumer = session.createConsumer(queue); MessageConsumer messageConsumer = session.createConsumer(queue);
connection.start(); connection.start();
//send message to virtual topic //send message to virtual topic
Topic topic = session.createTopic("VirtualTopic.Orders"); Topic topic = session.createTopic("VirtualTopic.Orders");
MessageProducer producer = session.createProducer(topic); MessageProducer producer = session.createProducer(topic);