This closes #2026
This commit is contained in:
commit
ec9882c553
|
@ -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:
|
||||||
|
|
|
@ -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/
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue