Skip navigation links
A B C D E G I M O R S W 

A

ActiveMQTestRunner - Class in org.apache.activemq.junit
A Custom JUnit test runner for customizing JUnit tests run in ActiveMQ.
ActiveMQTestRunner(Class<?>) - Constructor for class org.apache.activemq.junit.ActiveMQTestRunner
 
after() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
Stop the embedded ActiveMQ Broker

Invoked by JUnit to tear down the resource

apply(Statement, Description) - Method in class org.apache.activemq.junit.RepeatRule
 

B

before() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
Start the embedded ActiveMQ Broker

Invoked by JUnit to setup the resource

build(Statement) - Method in class org.apache.activemq.junit.RepeatStatement.Builder
Builds a RepeatStatement instance using the values in this builder.
build(Repeat, Statement) - Method in class org.apache.activemq.junit.RepeatStatement.Builder
Builds a RepeatStatement instance using the values in this builder.
builder() - Static method in class org.apache.activemq.junit.RepeatStatement
 
Builder() - Constructor for class org.apache.activemq.junit.RepeatStatement.Builder
 

C

configure() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
Customize the configuration of the embedded ActiveMQ broker This method is called before the embedded ActiveMQ broker is started, and can be overridden to this method to customize the broker configuration.
createConnectionFactory() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
Create an ActiveMQConnectionFactory for the embedded ActiveMQ Broker
createPooledConnectionFactory() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
Create an PooledConnectionFactory for the embedded ActiveMQ Broker

D

disableAdvisoryForConsumed() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
disableAdvisoryForDelivery() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
disableAdvisoryForDiscardingMessages() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
disableAdvisoryForFastProducers() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
disableAdvisoryForSlowConsumers() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
disableStatisticsPlugin() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 

E

EmbeddedActiveMQBroker - Class in org.apache.activemq.junit
A JUnit Rule that embeds an ActiveMQ broker into a test.
EmbeddedActiveMQBroker() - Constructor for class org.apache.activemq.junit.EmbeddedActiveMQBroker
Create an embedded ActiveMQ broker using defaults The defaults are: - the broker name is 'embedded-broker' - JMX is enabled but no management connector will be created.
EmbeddedActiveMQBroker(String) - Constructor for class org.apache.activemq.junit.EmbeddedActiveMQBroker
Create an embedded ActiveMQ broker using a configuration URI
EmbeddedActiveMQBroker(URI) - Constructor for class org.apache.activemq.junit.EmbeddedActiveMQBroker
Create an embedded ActiveMQ broker using a configuration URI
enableAdvisoryForConsumed() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
enableAdvisoryForDelivery() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
enableAdvisoryForDiscardingMessages() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
enableAdvisoryForFastProducers() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
enableAdvisoryForSlowConsumers() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
enableStatisticsPlugin() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
evaluate() - Method in class org.apache.activemq.junit.RepeatStatement
 

G

getBrokerName() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
Get the name of the embedded ActiveMQ Broker
getBrokerService() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
Get the BrokerService for the embedded ActiveMQ broker.
getMessageCount(String) - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
Get the number of messages in a specific JMS Destination.
getOriginalTimeout(FrameworkMethod) - Method in class org.apache.activemq.junit.ActiveMQTestRunner
Retrieve the original JUnit timeout from the @Test annotation on the incoming test method.
getRepetitions() - Method in class org.apache.activemq.junit.RepeatStatement.Builder
 
getVmURL() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
Get the VM URL for the embedded ActiveMQ Broker

NOTE: The option is precreate=false option is appended to the URL to avoid the automatic creation of brokers and the resulting duplicate broker errors

I

isAdvisoryForConsumedEnabled() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
isAdvisoryForDeliveryEnabled() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
isAdvisoryForDiscardingMessagesEnabled() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
isAdvisoryForFastProducersEnabled() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
isAdvisoryForSlowConsumersEnabled() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
isStatisticsPluginEnabled() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
isUntilFailure() - Method in class org.apache.activemq.junit.RepeatStatement.Builder
 

M

methodBlock(FrameworkMethod) - Method in class org.apache.activemq.junit.ActiveMQTestRunner
 

O

org.apache.activemq.junit - package org.apache.activemq.junit
 

R

Repeat - Annotation Type in org.apache.activemq.junit
A Custom Test annotation used to repeat a troublesome test multiple times when attempting to reproduce an intermittent failure.
RepeatRule - Class in org.apache.activemq.junit
Test rule used to allow a test to have the Repeat annotation applied.
RepeatRule() - Constructor for class org.apache.activemq.junit.RepeatRule
 
RepeatStatement - Class in org.apache.activemq.junit
 
RepeatStatement(int, boolean, Statement) - Constructor for class org.apache.activemq.junit.RepeatStatement
 
RepeatStatement(RepeatStatement.Builder, Statement) - Constructor for class org.apache.activemq.junit.RepeatStatement
 
RepeatStatement.Builder - Class in org.apache.activemq.junit
Builder for Repeat.

S

setBrokerName(String) - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
 
start() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
Start the embedded ActiveMQ broker, blocking until the broker has successfully started.
stop() - Method in class org.apache.activemq.junit.EmbeddedActiveMQBroker
Stop the embedded ActiveMQ broker, blocking until the broker has stopped.

W

withPotentialRepeat(FrameworkMethod, Statement) - Method in class org.apache.activemq.junit.ActiveMQTestRunner
Check for the presence of a Repeat annotation and return a RepeatStatement to handle executing the test repeated or the original value if not repeating.
withPotentialTimeout(FrameworkMethod, Object, Statement) - Method in class org.apache.activemq.junit.ActiveMQTestRunner
Perform the same logic as BlockJUnit4ClassRunner.withPotentialTimeout(FrameworkMethod, Object, Statement) but with additional support for changing the coded timeout with an extended value.
withRepetitions(int) - Method in class org.apache.activemq.junit.RepeatStatement.Builder
Specifies the number of times to run the test.
withRunUntilFailure(boolean) - Method in class org.apache.activemq.junit.RepeatStatement.Builder
Specifies the number of times to run the test.
A B C D E G I M O R S W 
Skip navigation links

Copyright © 2005–2017 The Apache Software Foundation. All rights reserved.